-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
108 lines (104 loc) · 4.34 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
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>longle</title>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<script src="js/main.js"></script>
<link rel="stylesheet" href="css/styles.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
/>
</head>
<body>
<div id="container">
<div id="game">
<header>
<h1 class="title" id="title">wordle</h1>
</header>
<div id="settings">
<div class="slidecontainer">
<p class="settingDisplay">Word length: </p>
<p id = "wordlength" class="settingDisplay">5</p>
<input type="range" min="1" max="25" value="5" class="slider" id="wordlengthslider">
</div>
<div class="slidecontainer">
<p class="settingDisplay">Advance word length on completion: </p>
<input type="checkbox" id="myCheck">
</div>
<div class="slidecontainer">
<p class="settingDisplay">Obscure words only: </p>
<input type="checkbox" id="ObscureCheck">
<p class="settingDisplay">NYT Guesses: </p>
<input type="checkbox" id="NYTCheck">
<p class="settingDisplay"> --- I have no life: </p>
<input type="checkbox" id="LifeCheck">
</div>
<div class="slidecontainer">
<p class="settingDisplay">Blind: </p>
<input type="checkbox" id="BlindCheck">
<p class="settingDisplay"> --- Accept any guess: </p>
<input type="checkbox" id="AnyGuessCheck">
<p class="settingDisplay">Disable animation: </p>
<input type="checkbox" id="DACheck">
</div>
<div class="slidecontainer">
<p class="settingDisplay">Animation time: </p>
<p id = "animationLength" class="settingDisplay">20</p>
<p class="settingDisplay">ms</p>
<input type="range" min="0" max="500" value="20" class="slider" id="animationSlider">
</div>
<div class="slidecontainer">
<p class="settingDisplay" id="alert"> </p>
</div>
</div>
<div id="board-container">
<div id="board"></div>
</div>
<div id="keyboard-container">
<div class="keyboard-row">
<button data-key="copy">Copy</button>
<button data-key="q" id="q">q</button>
<button data-key="w" id="w">w</button>
<button data-key="e" id="e">e</button>
<button data-key="r" id="r">r</button>
<button data-key="t" id="t">t</button>
<button data-key="y" id="y">y</button>
<button data-key="u" id="u">u</button>
<button data-key="i" id="i">i</button>
<button data-key="o" id="o">o</button>
<button data-key="p" id="p">p</button>
</div>
<div class="keyboard-row">
<button data-key="end" class="wide-button">End</button>
<button data-key="a" id="a">a</button>
<button data-key="s" id="s">s</button>
<button data-key="d" id="d">d</button>
<button data-key="f" id="f">f</button>
<button data-key="g" id="g">g</button>
<button data-key="h" id="h">h</button>
<button data-key="j" id="j">j</button>
<button data-key="k" id="k">k</button>
<button data-key="l" id="l">l</button>
</div>
<div class="keyboard-row">
<button data-key="enter" class="wide-button">Enter</button>
<button data-key="z" id="z">z</button>
<button data-key="x" id="x">x</button>
<button data-key="c" id="c">c</button>
<button data-key="v" id="v">v</button>
<button data-key="b" id="b">b</button>
<button data-key="n" id="n">n</button>
<button data-key="m" id="m">m</button>
<button data-key="del" class="wide-button">Del</button>
</div>
</div>
</div>
</div>
</body>
</html>