-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (54 loc) · 1.26 KB
/
index.html
File metadata and controls
58 lines (54 loc) · 1.26 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
55
56
57
58
<html lang="en">
<head>
<title>Simple Speed Typer</title>
<!-- link the CSS file here -->
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div class="container">
<div class="heading">
Speed Typing Test
</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">Errors</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">% Accuracy</div>
<div class="curr_accuracy">100</div>
</div>
</div>
<div class="quote">
Click on the area below to start the game.
</div>
<textarea class="input_area"
placeholder="start typing here..."
oninput="processCurrentText()"
onfocus="startGame()">
</textarea>
<button class="restart_btn"
onclick="resetValues()">
Restart
</button>
</div>
<div class="footer">
<h1>© Designed by Abhay Anand</h1>
</div>
<!-- link the JavaScript file here -->
<script src="js/script.js">
</script>
</body>
</html>