-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathindex.html
More file actions
320 lines (311 loc) · 12.1 KB
/
index.html
File metadata and controls
320 lines (311 loc) · 12.1 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
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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
<!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" />
<title>Project | Type-o-meter</title>
<link rel="stylesheet" href="/css-files/style.css" />
<link rel="stylesheet" href="/css-files/loader.css" />
<script
src="https://kit.fontawesome.com/d733855d1a.js"
crossorigin="anonymous"
></script>
</head>
<body>
<!-- HTML for Loader -->
<div class="showbox">
<div class="loader">
<svg class="circular" viewBox="25 25 50 50">
<circle
class="path"
cx="50"
cy="50"
r="20"
fill="none"
stroke-width="2"
stroke-miterlimit="10"
/>
</svg>
</div>
</div>
<!-- ------------------------------------------------------------------------------ -->
<div class="nav-container">
<ul>
<li class="heading">Type-o-meter</li>
<li class="portfolio-link">
<a href="https://gaganpreetkaurkalsi.netlify.app/">Portfolio</a>
</li>
</ul>
</div>
<div class="wrapper">
<h4 class="heading head">TYPING SPEED TEST</h4>
<h1 class="main-head head">Test your typing skills</h1>
<div class="center">
<div class="clock inline"><i class="fas fa-clock"></i></div>
<div class="nav-links inline test-options">
<div class="time-mode mode show-time-modes">Time Mode</div>
<div class="options">
<a href="#time-mode"
><span class="time-mode mode option hide" id="minute1"
><span class="bold time">1</span> min</span
></a
>
<a href="#time-mode"
><span class="time-mode mode option hide" id="minute2"
><span class="bold time">2</span> min</span
></a
>
<a href="#time-mode"
><span class="time-mode mode option hide" id="minute3"
><span class="bold time">3</span> min</span
></a
>
</div>
<a href="#infinity-mode"
><div class="infinity-mode mode" id="infinity-mode-btn">
Infinity Mode
</div></a
>
</div>
</div>
</div>
<section class="time-mode-section center" id="time-mode">
<svg
class="svg-path"
width="1440"
height="36"
viewBox="0 0 1440 36"
class="u-block"
xmlns="http://www.w3.org/2000/svg"
style="width: 100%; height: auto"
>
<rect width="100%" height="100%" fill="#F6F6F7"></rect>
<path
d="M1440 36V8.2s-105.6-1.2-160.7-6a877 877 0 00-150.5 2.5c-42.1 3.9-140 15-223 15C754 19.6 700.3 6.8 548.8 7c-143.7 0-273.4 11.5-350 12.6-76.6 1.2-198.8 0-198.8 0V36h1440z"
fill="var(--primary-color)"
></path>
</svg>
<h3 class="sub-head">Type as much as you can</h3>
<h1 class="head text-shadow">Beat the time</h1>
<div class="time-mode-wrapper">
<div class="result grid-container">
<div class="time one result-data" id="clock-time-mode">
<p>
1 <span class="mini"><br />min</span>
</p>
</div>
<div class="wpm grid two result-data" id="timer-wpm">0</div>
<div class="wpm-head five result-head">words/min</div>
<div class="cpm grid three result-data" id="timer-cpm">0</div>
<div class="cpm-head six result-head">chars/min</div>
<div class="accuracy grid four result-data" id="timer-accuracy">
0
</div>
<div class="accuracy-head seven result-head">% accuracy</div>
</div>
<p class="para-type infinity-para"></p>
<div class="timer min1 timer-adjust">
<span class="min" id="timer-minute">01</span>
<bold>:</bold>
<span class="sec" id="timer-second">00</span>
</div>
<div class="type-here-div">
<span class="type-here-anim">Start Typing</span>
<span class="triangle-down"></span>
</div>
<textarea
class="type-area"
name="type-area"
id="type-area"
cols="30"
rows="10"
></textarea>
<div class="btn-container no-center">
<button class="btn reset-time-mode" type="reset">Reset</button>
</div>
<div class="error-div">
<h3 class="error-head">WORD BIN <i class="far fa-trash-alt"></i></h3>
<div class="error-container">
<p class="error error-bundle"></p>
</div>
</div>
</div>
</section>
<section class="infinity-mode-section" id="infinity-mode">
<svg
class="svg-path"
width="1440"
height="36"
viewBox="0 0 1440 36"
class="u-block"
xmlns="http://www.w3.org/2000/svg"
style="width: 100%; height: auto"
>
<rect width="100%" height="100%" fill="var(--primary-color)"></rect>
<path
d="M1440 36V8.2s-105.6-1.2-160.7-6a877 877 0 00-150.5 2.5c-42.1 3.9-140 15-223 15C754 19.6 700.3 6.8 548.8 7c-143.7 0-273.4 11.5-350 12.6-76.6 1.2-198.8 0-198.8 0V36h1440z"
fill="#F6F6F7"
></path>
</svg>
<h3 class="sub-head">Type as fast as you can</h3>
<h1 class="head text-shadow">
Play Infinity <i class="fas fa-infinity infinity-icon"></i>
</h1>
<div class="result grid-container">
<div
class="time one result-data result-timer-infinity"
id="clock-time-mode"
>
<p>
<i class="fas fa-infinity"></i>
</p>
</div>
<div class="wpm grid two result-data" id="timer-wpm-inf">0</div>
<div class="wpm-head five result-head">words/min</div>
<div class="cpm grid three result-data" id="timer-cpm-inf">0</div>
<div class="cpm-head six result-head">chars/min</div>
<div class="accuracy grid four result-data" id="timer-accuracy-inf">
0
</div>
<div class="accuracy-head seven result-head">% accuracy</div>
</div>
<div class="user-space">
<p class="user-type no-select infinity-user-type" id="sample-para"></p>
<div>
<a href="#sample-container" class="goto-samples">Choose another?</a>
</div>
<div class="timer">
<span class="min infinity-min">00</span>
<bold>:</bold>
<span class="sec infinity-sec">00</span>
</div>
<textarea
class="type-area infinity-type-area"
name="type-area"
id="type-area"
cols="30"
rows="8"
disabled
></textarea>
<div class="btn-container">
<button class="btn start" type="button">Start</button>
<button class="btn reset" type="reset">Reset</button>
</div>
<div class="result">
<p></p>
</div>
</div>
</section>
<div class="sample-container" id="sample-container">
<svg
class="svg-path"
width="1440"
height="36"
viewBox="0 0 1440 36"
class="u-block"
xmlns="http://www.w3.org/2000/svg"
style="width: 100%; height: auto"
>
<rect width="100%" height="100%" fill="#F6F6F7"></rect>
<path
d="M1440 36V8.2s-105.6-1.2-160.7-6a877 877 0 00-150.5 2.5c-42.1 3.9-140 15-223 15C754 19.6 700.3 6.8 548.8 7c-143.7 0-273.4 11.5-350 12.6-76.6 1.2-198.8 0-198.8 0V36h1440z"
fill="#1B1B20"
></path>
</svg>
<div class="separator"><i class="fas fa-ellipsis-h"></i></div>
<h2 class="sample-head">Samples</h2>
<h3 class="sub-head">Choose what you would like to type</h3>
<p class="sample odd no-select">
<a href="#infinity-mode" class="smokewhite"
>The Patronus is the most famous defensive charm. The aim is to
produce a protector, which takes the form of an animal. The exact form
of the Patronus will not be apparent until the spell has been
successfully cast. It is the only spell effective against Dementors.
The majority of witches and wizards are unable to produce Patronuses
and to do so is generally considered a mark of superior magical
ability.</a
>
</p>
<p class="sample even no-select">
<a href="#infinity-mode" class="smokewhite"
>They can develop under a variety of conditions within these climatic
limits, and the kind of soil, plant, and animal life differs according
to the extremes of environmental influences. In cool, high-latitude
subpolar regions, forests are dominated by hardy conifers like pines,
spruces, and larches. A growing period of 100 to 200 days allows
deciduous forests to be dominated by oaks, elms, birches, maples,
beeches, and aspens.</a
>
</p>
<p class="sample odd no-select">
<a href="#infinity-mode" class="smokewhite"
>I believe that everything happens for a reason. People change so that
you can learn to let go, things go wrong so that you appreciate them
when they're right, you believe lies so you eventually learn to trust
no one but yourself, and sometimes good things fall apart so better
things can fall together.</a
>
</p>
<p class="sample even no-select">
<a href="#infinity-mode" class="smokewhite"
>Twenty years from now you will be more disappointed by the things
that you didn't do than by the ones you did do. So throw off the
bowlines. Sail away from the safe harbor. Catch the trade winds in
your sails. Explore. Dream. Discover.</a
>
</p>
<p class="sample odd no-select">
<a href="#infinity-mode" class="smokewhite"
>I'm selfish, impatient and a little insecure. I make mistakes, I am
out of control and at times hard to handle. But if you can't handle me
at my worst, then you sure as hell don't deserve me at my best.</a
>
</p>
</div>
<!-- <div class="time-mode">
<p class="para-type">The Patronus is the most famous defensive charm. The aim is to produce a protector, which takes the form of an animal. The exact form of the Patronus will not be apparent until the spell has been successfully cast. It is the only spell effective against Dementors. The majority of witches and wizards are unable to produce Patronuses and to do so is generally considered a mark of superior magical ability.</p>
<div class="timer min1">
<span class="min">01</span>
<bold>:</bold>
<span class="sec">00</span>
</div>
<textarea class = "type-area" name="type-area" id="type-area" cols="30" rows="10"></textarea>
<div class="error-div">
<h3 class="error-head">Errors here : </h3>
<p class="error"></p>
</div>
<div class="result">
<span class="wpm"></span>
<span class="accuracy"></span>
</div>
<div class="btn-container">
<button class = "btn reset-time-mode" type="reset">Reset</button>
</div>
</div> -->
<footer class="footer">
<div class="footer-header">social media presence</div>
<ul class="social-links list">
<li class="list-item-inline">
<a href="https://github.com/GaganpreetKaurKalsi" class="link"
><i class="fab fa-github"></i
></a>
</li>
<li class="list-item-inline">
<a
href="https://www.linkedin.com/in/gaganpreet-kaur-kalsi-2a6650191/"
class="link"
><i class="fab fa-linkedin-in"></i
></a>
</li>
<li class="list-item-inline">
<a href="https://www.instagram.com/gagan_singhkalsi11/" class="link"
><i class="fab fa-instagram"></i
></a>
</li>
</ul>
</footer>
<script src="/js-files/script.js"></script>
<script src="/js-files/loader.js"></script>
</body>
</html>