-
Notifications
You must be signed in to change notification settings - Fork 0
/
keyboard.html
143 lines (135 loc) · 4.19 KB
/
keyboard.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
<!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>Word Play</title>
<link rel="stylesheet" href="/keyboard.css" />
<link
href="https://fonts.googleapis.com/css2?family=Kalam:wght@400;700&family=Oswald:wght@300;400;600&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
/>
<link
href="https://fonts.googleapis.com/css2?family=Bangers&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Roboto&display=swap"
rel="stylesheet"
/>
</head>
<body id="wholeBody">
<h1 id="gameTitle">WordPlay</h1>
<nav>
<div class="dropdown">
<i id="dropIcon" class="fa fa-bars fa-2x dropIcon"></i>
<div class="dropdown-content">
<a id= "htpMenuItem" href="#">How to Play</a>
<a href="#">Past Results</a>
<a href="#">Link 3</a>
</div>
</div>
<div class="dropdown dropdown-right">
<i id="dropIcon" class="fa fa-gear fa-2x dropIcon"></i>
<div class="dropdown-content">
<a href="#">Dark Mode</a>
<a href="#">Hard Mode</a>
<a href="#">Option 3</a>
</div>
</div>
</nav>
<div class="how-to-play show">
<i id="close-how-to-play" class="fa fa-remove"></i>
<h1>How to Play:</h1>
<li>You'll have 60 seconds to type as many of the words as you can</li>
<li>Each word is only five letters long</li>
<li>
But be careful - the keyboard changes every time you complete a word!
</li>
</div>
<div class="you-did-it ">
<i id="close-you-did-it" class="fa fa-remove"></i>
<h1>Time's up.</h1>
<h2>Great Job!</h2>
</div>
<div id="stopwatch">
<p>Time Remaining:</p>
<p id="timer">01:00</p>
<!-- <h2 id="start-stop">Start</h2> -->
</div>
<div id="scoreCount">
<p>Current Score:</p>
<p id="score"></p>
</div>
<div class="textFields">
<input type="text" id="text-field" />
</div>
<div id="keyboard">
<div class="row1">
<h2 class="key">Q</h2>
<h2 class="key">W</h2>
<h2 class="key">E</h2>
<h2 class="key">R</h2>
<h2 class="key">T</h2>
<h2 class="key">Y</h2>
<h2 class="key">U</h2>
<h2 class="key">I</h2>
<h2 class="key">O</h2>
<h2 class="key">P</h2>
<!-- <h2 class="delete"><i class="fa fa-backspace"></i>
</h2> -->
</div>
<div class="row2">
<!-- <h2 class="key">U</h2>
<h2 class="key">I</h2>
<h2 class="key">O</h2>
<h2 class="key">P</h2> -->
<h2 class="key">A</h2>
<h2 class="key">S</h2>
<h2 class="key">D</h2>
<h2 class="key">F</h2>
<h2 class="key">G</h2>
<h2 class="key">H</h2>
<h2 class="key">J</h2>
<h2 class="key">K</h2>
<h2 class="key">L</h2>
</div>
<div class="row3">
<!-- <h2 class="key">F</h2>
<h2 class="key">G</h2>
<h2 class="key">H</h2>
<h2 class="key">J</h2>
<h2 class="key">K</h2>
<h2 class="key">L</h2> -->
<h2 class="clear"><i class="fa fa-remove"></i></h2>
<h2 class="key">Z</h2>
<h2 class="key">X</h2>
<h2 class="key">C</h2>
<h2 class="key">V</h2>
<h2 class="key">B</h2>
<h2 class="key">N</h2>
<h2 class="key">M</h2>
<h2 class="delete"><i class="fa fa-backspace"></i></h2>
<!-- <h2 class="clear"><i class="fa fa-remove"></i>
</h2> -->
</div>
<!-- <div class="row4">
<h2 class="key">X</h2>
<h2 class="key">C</h2>
<h2 class="key">V</h2>
<h2 class="key">B</h2>
<h2 class="key">N</h2>
<h2 class="key">M</h2>
<h2 class="clear"><i class="fa fa-remove"></i>
</h2>
</div> -->
</div>
<!-- <h2 class="newKeyboard">New Keyboard</h2> -->
<script src="keyboard.js"></script>
</body>
</html>