-
Notifications
You must be signed in to change notification settings - Fork 0
/
game2.html
153 lines (135 loc) · 8.44 KB
/
game2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="style.css">
<link href="https://fonts.googleapis.com/css?family=Stalinist+One&display=swap" rel="stylesheet">
<title>Подреди елементите</title>
<script type="text/javascript" src="search.js"></script>
<script src="https://kit.fontawesome.com/678d6674eb.js" crossorigin="anonymous"></script>
</head>
<body>
<nav>
<span class = "open-slide">
<a href="#" onclick = "openSlideMenu()">
<i class = "fas fa-bars"></i>
</a>
</span>
<ul>
<li><a class="top" href="Home.html">Таблица</a></li>
<li><a class = "top" href="#groups">Групи</a>
<ul>
<li><a href="pages/IIA.html">IIA</a></li>
<li><a href="pages/IIIA.html">IIIA</a></li>
<li><a href="pages/IVA.html">IVA</a></li>
<li><a href="pages/VA.html">VA</a></li>
<li><a href="pages/VIA.html">VIA</a></li>
<li><a href="pages/VII.html">VIIA</a></li>
</ul>
</li>
<li><a class = "active" href="t.html">Игри</a></li>
<li><a class = "top" href="pages/creators.html">Създатели</a></li>
</ul>
<p>ХИМИЯ</p >
<div class="s">
<input type="text" style="border:3px solid transparent;padding:8px;font-size: 16px;margin-top:15px;margin-right:15px;" placeholder="Search for an element.." value="" oninput="this.setAttribute('value',this.value); check(this.value);" onfocus="check(this.value);this.style.border='3px solid yellow';" onblur="setTimeout(closeSearch, 100);this.style.border='3px solid transparent';">
<div class="res">
<div id="Be"><a href="pages/Be.html">Берилий (Be)</a></div>
<div id="Mg"><a href="pages/Mg.html">Магнезий (Mg)</a></div>
<div id="Ca"><a href="pages/Ca.html">Калций (Ca)</a></div>
<div id="Sr"><a href="pages/Sr.html">Стронций (Sr)</a></div>
<div id="Ba"><a href="pages/Ba.html">Барий (Ba)</a></div>
<div id="B"><a href="pages/B.html">Бор (B)</a></div>
<div id="Al"><a href="pages/Al.html">Алуминий (Al)</a></div>
<div id="Ga"><a href="pages/Ga.html">Галий (Ga)</a></div>
<div id="In"><a href="pages/In.html">Индий (In)</a></div>
<div id="C"><a href="pages/C.html">Въглерод (C)</a></div>
<div id="Si"><a href="pages/Si.html">Силиций (Si)</a></div>
<div id="Ge"><a href="pages/Ge.html">Германий (Ge)</a></div>
<div id="Sn"><a href="pages/Sn.html">Калай (Sn)</a></div>
<div id="N"><a href="pages/N.html">Азот (N)</a></div>
<div id="P"><a href="pages/P.html">Фосфор (P)</a></div>
<div id="As"><a href="pages/As.html">Арсен (As)</a></div>
<div id="Sb"><a href="pages/Sb.html">Антимон (Sb)</a></div>
<div id="O"><a href="pages/O.html">Кислород (O)</a></div>
<div id="S"><a href="pages/S.html">Сяра (S)</a></div>
<div id="Se"><a href="pages/Se.html">Селен (Se)</a></div>
<div id="Te"><a href="pages/Te.html">Телур (Te)</a></div>
<div id="F"><a href="pages/F.html">Флуор (F)</a></div>
<div id="Cl"><a href="pages/Cl.html">Хлор (Cl)</a></div>
<div id="Br"><a href="pages/Br.html">Бром (Br)</a></div>
<div id="I"><a href="pages/I.html">Йод (I)</a></div>
</div>
</div>
</nav>
<div class="slide-nav" id = "slide-menu">
<a href="#" class = "close-slide" onclick="closeSlideMenu()">
<i class="fas fa-times"></i>
</a>
<a href="t.html">Познай елемента</a>
<a href="game2.html">Подреди елементите</a>
<p style="display:inline-block;width:200px;margin-left:30px;overflow:auto;color:#ffffb3;">Кликни върху елемент, за да го избереш, а след това го постави в кутийка. За да изтриеш съдържанието на кутийка, кликни върху нея.</p>
</div>
<div class="main">
<h1>Подреди елементите</h1>
<p id="message" style="padding:0px;font-size:60px;text-align:center;color:blue;margin-bottom:0px;font-weight:bold;">поставете елементите в кутийките</p>
<div class="numbers" style="display:block;margin:auto;width:70%">
<div class="number" style="display:inline-block;min-width:14%;margin-right:3%;margin-left:1.6%;margin-bottom:0px;font-size:48px;text-align:center;">
ouo
</div>
<div class="number" style="display:inline-block;min-width:14%;margin:3.3%;margin-bottom:0px;font-size:48px;text-align:center;">
ho
</div>
<div class="number" style="display:inline-block;min-width:14%;margin:3%;margin-bottom:0px;font-size:48px;text-align:center;">
d
</div>
<div class="number" style="display:inline-block;min-width:14%;margin:3.4%;margin-bottom:0px;font-size:48px;text-align:center;">
d
</div>
<div class="number" style="display:inline-block;min-width:14%;margin-left:3.5%;margin-bottom:0px;font-size:48px;text-align:center;">
d
</div>
</div>
<div class="boxes" style="display:block;margin:auto;width:70%;">
<div class="box" data-n="-1" style="display:inline-block;border:2px solid black;min-width:14%;margin-right:3%;margin-left:1.5%;min-height:42px;font-size:30px;text-align:center;color:transparent;" onclick="Put(0)">
ouo
</div>
<div class="box" data-n="-1" style="display:inline-block;border:2px solid black;min-width:14%;margin:0% 3%;min-height:42px;font-size:30px;text-align:center;color:transparent;" onclick="Put(1)">
ho
</div>
<div class="box" data-n="-1" style="display:inline-block;border:2px solid black;min-width:14%;margin:0% 3%;min-height:42px;font-size:30px;text-align:center;color:transparent;" onclick="Put(2)">
d
</div>
<div class="box" data-n="-1" style="display:inline-block;border:2px solid black;min-width:14%;margin:0% 3%;min-height:42px;font-size:30px;text-align:center;color:transparent;" onclick="Put(3)">
d
</div>
<div class="box" data-n="-1" style="display:inline-block;border:2px solid black;min-width:14%;margin-left:3%;min-height:42px;font-size:30px;text-align:center;color:transparent;" onclick="Put(4)">
d
</div>
</div>
<div class="elements" style="display:block;margin:auto;width:70%;">
<div class="element" data-n="" style="display:inline-block;border:2px solid black;min-width:14%;margin-right:3%;margin-left:1.5%;min-height:42px;font-size:30px;text-align:center;color:blue;background-color:#ffffb3;" onclick="Buf(0);">
елемент
</div>
<div class="element" data-n="" style="display:inline-block;border:2px solid black;min-width:14%;margin:5% 3%;min-height:42px;font-size:30px;text-align:center;color:blue;background-color:#ffffb3;" onclick="Buf(1);">
еент
</div>
<div class="element" data-n="" style="display:inline-block;border:2px solid black;min-width:14%;margin:5% 3%;min-height:42px;font-size:30px;text-align:center;color:blue;background-color:#ffffb3;" onclick="Buf(2);">
елент
</div>
<div class="element" data-n="" style="display:inline-block;border:2px solid black;min-width:14%;margin:5% 3%;min-height:42px;font-size:30px;text-align:center;color:blue;background-color:#ffffb3;" onclick="Buf(3);">
емент
</div>
<div class="element" data-n="" style="display:inline-block;border:2px solid black;min-width:14%;margin-left:3%;min-height:42px;font-size:30px;text-align:center;color:blue;background-color:#ffffb3;" onclick="Buf(4);">
елент
</div>
</div>
<div class="btns" style="display:block;margin:auto;width:400px;margin-bottom:50px;">
<button onclick="checkGame2();" style="font-size:30px;padding:10px;">Провери</button>
<button onClick="window.location.reload();" style="font-size:20px;padding:15px;float:right;">Разбъркай</button>
</div>
<script>
Load();
</script>
</body>
</html>