-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (46 loc) · 1.46 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<link rel="icon" href="images/FavIcon.png" />
<title>WPM Test App</title>
</head>
<body>
<header>Words-Per-Minute Typing Test App</header>
<div class="container">
<div class="stats">
<p>Time: <span id="timerCount">0s</span></p>
<p>Mistakes: <span id="mistakesCount">0</span></p>
</div>
<div class="quote-header">Write the following text:</div>
<div
id="quote"
onmousedown="return false"
onselectstart="return false"
></div>
<textarea id="quote-input" rows="5" placeholder="Write here"></textarea>
<button id="start-test" onclick="startTest()">Start Test</button>
<button id="stop-test" onclick="displayResult()">Stop Test</button>
<div class="result">
<h3>Result</h3>
<div class="wrapper">
<p>Accuracy: <span id="accuracy"></span></p>
<p>Speed: <span id="wpm"></span></p>
</div>
</div>
</div>
<div class="footer">
Made by Ibbert
<a
href="https://github.com/Ibbert/WPM-Test-App"
target="_blank"
title="Visit GitHub Repo for this application"
>
GitHub
</a>
</div>
<script src="index.js"></script>
</body>
</html>