-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
93 lines (91 loc) · 2.61 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
<html lang="en">
<head>
<title>Simple Typing Test</title>
<!-- link the CSS file here -->
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div class="heading">
<div>
<div class="mode_group">
<div class="mode mode_selected">
time
</div>
<div class="mode">
quote
</div>
<div class="mode">
words
</div>
</div>
<div class="mode_subgroups">
<div class="subgroup mode_time">
<div class="submode">15</div>
<div class="submode">30</div>
<div class="submode mode_selected">60</div>
<div class="submode">120</div>
</div>
<div class="subgroup mode_quote hidden">
</div>
<div class="subgroup mode_words hidden">
<div class="submode">10</div>
<div class="submode mode_selected">25</div>
<div class="submode">50</div>
<div class="submode">100</div>
</div>
</div>
</div>
<div class="Title">
Simple Typing Test
</div>
<div class="selection_menu">
<select class="language_selection">
<option value="Dutch">Dutch</option>
<option value="English">English</option>
</select>
</div>
</div>
<div class="header">
<div class="wpm">
<div class="header_text">WPM</div>
<div class="curr_wpm">100</div>
</div>
<div class="cpm">
<div class="header_text">CPM</div>
<div class="curr_cpm">100</div>
</div>
<div class="errors">
<div class="header_text">err</div>
<div class="curr_errors">0</div>
</div>
<div class="timer">
<div class="header_text">time</div>
<div class="curr_time">60s</div>
</div>
<div class="accuracy">
<div class="header_text">acc</div>
<div class="curr_accuracy">100</div>
</div>
</div>
<div class="text_screen">
Click on the area below to start the game.
</div>
<textarea class="input_area"
oninput="processCurrentText()"
onfocus="startGame()">
</textarea>
<button class="restart_btn"
onclick="restartGame()">
↺
</button>
<div class="keyTips">
<span class="key">tab</span> followed by <span class="key">enter</span> - restart test
</div>
</div>
<!-- link the JavaScript file here -->
<!--https://www.tutorialrepublic.com/faq/how-to-overlay-one-div-over-another-div-using-css.php-->
<script src="js/main.js">
</script>
</body>
</html>