-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (45 loc) · 1.73 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
<!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>Typing Speed Tester!</title>
<!-- custom css file link -->
<link rel="stylesheet" href="./style.css">
</head>
<body>
<body>
<div class="container">
<div class="title">Typing Speed Tester!</div><hr>
<div class="border">
<div class="header">
<div class="wpm">
<div class="head">Words/min</div>
<div class="init_wpm">100</div>
</div>
<div class="errors">
<div class="head">Errors</div>
<div class="init_errors">0</div>
</div>
<div class="timer">
<div class="head">Time(s)</div>
<div class="init_time">60s</div>
</div>
<div class="accuracy">
<div class="head">Accuracy(%)</div>
<div class="init_accuracy">100</div>
</div>
</div>
</div>
<div class="content" style="display: none;"></div>
<textarea class="input_box" placeholder="Start typing..." oninput="textInput()" onfocus="startGame()"></textarea>
<br>
<button class="start" onclick="startGame()">Start</button><br>
<button class="restart" onclick="resetValues()">Restart</button>
</div>
</body>
<!-- custom js file link -->
<script src="./script.js"></script>
</body>
</html>