forked from arpitghura/typing-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
practice.html
124 lines (111 loc) · 5.02 KB
/
practice.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<!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="shortcut icon" href="assets/images/timer.png" type="image/x-icon">
<link rel="stylesheet" href="assets/css/index.css">
<link rel="stylesheet" href="assets/css/practice.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href='https://unpkg.com/[email protected]/css/boxicons.min.css' rel='stylesheet'>
<title>Practice | Practice your typing skills at ease</title>
</head>
<body>
<nav>
<div class="navbar">
<div class="brand">
<a href="./index.html" class="brand-name">Typing Test</a>
</div>
<div class="navigation">
<ul class="main-menu">
<li class="nav-item"><a href="practice.html" class="nav-item-link">Practice</a></li>
<li class="nav-item"><a href="about.html" class="nav-item-link">About</a></li>
<li class="nav-item"><a href="profile.html" class="nav-item-link">Profile</a></li>
</ul>
</div>
<div class="github-icon">
<a href="https://github.com/arpitghura/typing-test" class="nav-item-link"><i class='bx bx-sm bxl-github'></i></a>
</div>
<div class="mobile-nav">
<div class="bar1"></div>
<div class="bar2"></div>
<div class="bar3"></div>
</div>
</div>
</nav>
<div class="content">
<div class="container">
<div id="user-header">
<h1 class="heading">Typing Test</h1>
<div class="userDetails">
<h2 id="greetUser"></h2>
</div>
<h2 class="subtitle">Practice your typing skills!</h2>
</div>
<div class="dynamic-text-box">
<p id="quote"></p>
</div>
<div id="levelSelector">
<h3>Choose difficulty level:</h3>
<label class="difficultyLevelSelectorBtn" id="easy">
<input type="radio" id="easyLvlBtn" name="radio-button">
<span for="easyLvlBtn" class="radio-label">Easy</span>
</label>
<label class="difficultyLevelSelectorBtn" id="intermed">
<input type="radio" id="interLvlBtn" name="radio-button">
<span for="interLvlBtn" class="radio-label">Intermediate</span>
</label>
<label class="difficultyLevelSelectorBtn" id="hard">
<input type="radio" id="hardLvlBtn" name="radio-button">
<span for="hardLvlBtn" class="radio-label">Hard</span>
</label>
</div>
<div id="timingSessionChoose">
<h2>Choose Time Duration</h1>
<ul class="timerListUL">
<label class="timerSelector">
<input type="radio" id="onemin" name="time-button">
<span for="onemin" class="radio-label">1 minute</span>
</label>
<label class="timerSelector">
<input type="radio" id="twomin" name="time-button">
<span for="twomin" class="radio-label">2 minute</span>
</label>
<label class="timerSelector">
<input type="radio" id="fivemin" name="time-button">
<span for="fivemin" class="radio-label">5 minute</span>
</label>
</ul>
</div>
<div class="start-btn">
<button id="startBtn">START</button><br>
<h3 class="startIns"> Press Space to Start</h3>
<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>
<footer>
<p>
Made with ♥ by Arpit Ghura. All Rights Reserved ©
<span id="copyright">
<script>document.getElementById('copyright').appendChild(document.createTextNode(new Date().getFullYear()))</script>
</span>
</p>
</footer>
<script type="module" src="assets/js/practice.mjs"></script>
<script src="assets/js/index.js"></script>
</body>
</html>