-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
71 lines (59 loc) · 1.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
<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">
<title>Speedster</title>
<meta content="" name="description">
<meta content="" name="keywords">
<!-- Favicons -->
<link href="/assets/favicon.ico" rel="icon">
<link href="apple-touch-icon.png" rel="apple-touch-icon">
<!-- link the CSS file here -->
<link rel="stylesheet" type="text/css" href="/assets/style.css">
</head>
<body>
<div class="container">
<div class="heading">
Speedster
</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">100s</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 typing
</div>
<textarea class="input_area"
placeholder="start typing here..."
oninput="processCurrentText()"
onfocus="startGame()">
</textarea>
<button class="restart_btn"
onclick="resetValues()">
Restart
</button>
</div>
<!-- link the JavaScript file here -->
<script src="/assets/Speedster.js">
</script>
</body>
</html>