forked from arpitghura/typing-test
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpractice.html
More file actions
61 lines (56 loc) · 1.79 KB
/
practice.html
File metadata and controls
61 lines (56 loc) · 1.79 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
59
60
61
<!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">
<link rel="stylesheet" href="practice.css">
<title>Practice | Practice your typing skills at ease</title>
</head>
<body>
<div class="container">
<h1 class="heading">Typing Test</h1>
<div class="userDetails">
<h2 id="greetUser"></h2>
</div>
<h2 class="subtitle">Practice your typing skills!</h2>
<div class="dynamic-text-box">
<p id="quote"></p>
</div>
<div class="start-btn">
<button id="startBtn">START</button>
<button id="resetBtn">RESET</button>
</div>
<div id="messages">
<p id="message"></p><br>
<p id="speed"></p>
</div>
</div>
<div class="user-input-box" id="userInputBox">
<input type="text" name="user-input" id="userInput">
</div>
<div class="nameModal">
<span class="prompt">Enter Your Username: </span>
<input type="text" name="userName" id="userName" required>
<input type="submit" value="Save and Go" id="nameSubmitBtn">
</div>
<div class="history">
<h2>History</h2>
<div class="history-table">
<table>
<thead>
<tr>
<th>Username</th>
<th>Speed (wpm)</th>
<th>Time Taken (sec)</th>
</tr>
</thead>
<tbody id="historyTableBody">
</tbody>
</table>
</div>
<button id="historyResetBtn">Reset Data</button>
</div>
<script src="index.js"></script>
</body>
</html>