-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (66 loc) · 2.79 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Typing Test</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2"
crossorigin="anonymous"
/>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div class="intro">
<h1 class="intro-heading">Typing Test</h1>
<p class="font-weight-light intro-text">
This is a typing speed test! Type a letter to begin.
</p>
</div>
<div id="main" class="container main">
<div class="text-container" id="text-container"></div>
</div>
<div class="results-container" id="results">
<ul class="list-group d-inline-block container-sm results-list">
<li class="list-group-item font-weight-bold results-header">
Your Results
</li>
<li class="list-group-item d-flex justify-content-between">
<span>WPM:</span
><span class="font-weight-light" id="wpm"></span>
</li>
<li class="list-group-item d-flex justify-content-between">
<span>Accuracy:</span
><span class="font-weight-light" id="accuracy"></span>
</li>
<li class="list-group-item d-flex justify-content-between">
<span>Time:</span
><span class="font-weight-light" id="time"></span>
</li>
</ul>
</div>
<div class="intro">
<p class="font-weight-light intro-text">
Text is from "The Picture of Dorian Gray" by Oscar Wilde.
</p>
</div>
<script
src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"
integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.min.js"
integrity="sha384-w1Q4orYjBQndcko6MimVbzY0tgp4pWB4lZ7lr30WKz0vr/aWKhXdBNmNb5D92v7s"
crossorigin="anonymous"
></script>
<script src="script.js"></script>
</body>
</html>