-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (51 loc) · 1.69 KB
/
Copy pathindex.html
File metadata and controls
54 lines (51 loc) · 1.69 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Typing Speed Test</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<main>
<section id="game">
<time></time>
<p></p>
<input autofocus />
</section>
<section id="results">
<section class="ctn-results">
<div>
<h2>wrong words: <span id="wrong-words"></span></h2>
<h2>wrong words but fixed: <span id="wrong-words-fixed"></span></h2>
<h2>wrong characters: <span id="wrong-characters"></span></h2>
<h2>wrong characters but fixed: <span id="wrong-characters-fixed"></span></h2>
</div>
<div>
<h2>correct words: <span id="correct-words"></span></h2>
<h2>correct characters: <span id="correct-characters"></span></h2>
<h2>wpm: <span id="results-wpm"></span></h2>
<h2>accuracy: <span id="results-accuracy"></span></h2>
</div>
</section>
<button id="reload-button">
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
>
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path d="M19.933 13.041a8 8 0 1 1 -9.925 -8.788c3.899 -1 7.935 1.007 9.425 4.747" />
<path d="M20 4v5h-5" />
</svg>
</button>
</section>
</main>
<script src="main.js"></script>
</body>
</html>