-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
98 lines (98 loc) · 4.63 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="style.css">
<link rel="icon" type="image/x-icon" href="favicon.png">
<title>PixelWordle</title>
</head>
<body>
<div id="game">
<p id="gg">GG!</p>
<p id="lost">You lose!</p>
<p id="word"></p>
<p id="definition"></p>
<div id="inputs">
<div id="r1" class="row">
<input type="text" maxlength="1" oninput="next(1)" id="0">
<input type="text" maxlength="1" oninput="next(2)" id="1">
<input type="text" maxlength="1" oninput="next(3)" id="2">
<input type="text" maxlength="1" oninput="next(4)" id="3">
<input type="text" maxlength="1" oninput="next(5)" id="4">
</div>
<div id="r2" class="row">
<input type="text" maxlength="1" oninput="next(6)" id="5" disabled>
<input type="text" maxlength="1" oninput="next(7)" id="6" disabled>
<input type="text" maxlength="1" oninput="next(8)" id="7" disabled>
<input type="text" maxlength="1" oninput="next(9)" id="8" disabled>
<input type="text" maxlength="1" oninput="next(10)" id="9" disabled>
</div>
<div id="r3" class="row">
<input type="text" maxlength="1" oninput="next(11)" id="10" disabled>
<input type="text" maxlength="1" oninput="next(12)" id="11" disabled>
<input type="text" maxlength="1" oninput="next(13)" id="12" disabled>
<input type="text" maxlength="1" oninput="next(14)" id="13" disabled>
<input type="text" maxlength="1" oninput="next(15)" id="14" disabled>
</div>
<div id="r4" class="row">
<input type="text" maxlength="1" oninput="next(16)" id="15" disabled>
<input type="text" maxlength="1" oninput="next(17)" id="16" disabled>
<input type="text" maxlength="1" oninput="next(18)" id="17" disabled>
<input type="text" maxlength="1" oninput="next(19)" id="18" disabled>
<input type="text" maxlength="1" oninput="next(20)" id="19" disabled>
</div>
<div id="r5" class="row">
<input type="text" maxlength="1" oninput="next(21)" id="20" disabled>
<input type="text" maxlength="1" oninput="next(22)" id="21" disabled>
<input type="text" maxlength="1" oninput="next(23)" id="22" disabled>
<input type="text" maxlength="1" oninput="next(24)" id="23" disabled>
<input type="text" maxlength="1" oninput="next(25)" id="24" disabled>
</div>
<div id="r6" class="row">
<input type="text" maxlength="1" oninput="next(26)" id="25" disabled>
<input type="text" maxlength="1" oninput="next(27)" id="26" disabled>
<input type="text" maxlength="1" oninput="next(28)" id="27" disabled>
<input type="text" maxlength="1" oninput="next(29)" id="28" disabled>
<input type="text" maxlength="1" oninput="next(30)"id="29" disabled>
</div>
</div>
<div id="keyboard">
<div class="row">
<p class="key" id="q">q</p>
<p class="key" id="w">w</p>
<p class="key" id="e">e</p>
<p class="key" id="r">r</p>
<p class="key" id="t">t</p>
<p class="key" id="y">y</p>
<p class="key" id="u">u</p>
<p class="key" id="i">i</p>
<p class="key" id="o">o</p>
<p class="key" id="p">p</p>
</div>
<div class="row">
<p class="key" id="a">a</p>
<p class="key" id="s">s</p>
<p class="key" id="d">d</p>
<p class="key" id="f">f</p>
<p class="key" id="g">g</p>
<p class="key" id="h">h</p>
<p class="key" id="j">j</p>
<p class="key" id="k">k</p>
<p class="key" id="l">l</p>
</div>
<div class="row">
<p class="key" id="z">z</p>
<p class="key" id="x">x</p>
<p class="key" id="c">c</p>
<p class="key" id="v">v</p>
<p class="key" id="b">b</p>
<p class="key" id="n">n</p>
<p class="key" id="m">m</p>
</div>
</div>
</div>
<script src="possibilities.js"></script>
<script src="words.js"></script>
<script src="script.js"></script>
</body>
</html>