-
Notifications
You must be signed in to change notification settings - Fork 1
/
type.html
59 lines (53 loc) · 1.74 KB
/
type.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css"
integrity="sha256-+N4/V/SbAFiW1MPBCXnfnP9QSN3+Keu+NlB+0ev/YKQ="
crossorigin="anonymous"
/>
<script src="https://code.responsivevoice.org/responsivevoice.js?"></script>
<link rel="stylesheet" href="type.css" />
<title>Speed Typer</title>
</head>
<body>
<button id="settings-btn" class="settings-btn">
<i class="fas fa-cog"></i>
</button>
<div id="loader" class="loader"><h1>👨🏿💻</h1>
<pec>Peculiar-codes</pec></div>
<div id="settings" class="settings">
<form id="settings-form">
<div>
<label for="difficulty">Difficulty</label>
<select id="difficulty">.
<option value="easy">Easy</option>
<option value="medium">Medium</option>
<option value="hard">Hard</option>
</select>
</div>
</form>
</div>
<div class="container">
<h2>👩💻 Speed Typer 👨💻</h2>
<small>Type the following:</small>
<h1 id="word"></h1>
<input
type="text"
id="text"
autocomplete="off"
placeholder="Type the word here..."
autofocus
/>
<p id="high"></p>
<p class="time-container">Time left: <span id="time"></span></p>
<p class="score-container">Score: <span id="score">0</span></p>
<div id="end-game-container" class="end-game-container"></div>
</div>
<script src="type.js"></script>
</body>
</html>