-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
736 lines (685 loc) · 34.8 KB
/
index.html
File metadata and controls
736 lines (685 loc) · 34.8 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
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>TypeMaster - Free Online Typing Speed Test & Typing Practice</title>
<meta name="description"
content="Test and improve your typing speed with TypeMaster - a free online typing test. Practice typing, track your WPM (words per minute), and compete with others. Perfect for beginners and professionals looking to enhance their typing skills." />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="TypeMaster">
<meta name="robots" content="index, follow">
<meta name="keywords"
content="typing test, typing speed test, WPM test, words per minute, typing practice, typing tutor, typing game, keyboard test, typing skills, typing trainer, online typing test, free typing test, typing speed, typing accuracy, touch typing, typing lessons, typing course, typing exercises, learn to type, improve typing speed, typing challenge, typing competition, typing master, typemaster, speed typing, fast typing, typing assessment, typing evaluation, typing benchmark, typing metrics, typing statistics, typing analytics, typing performance, typing improvement, typing drills, typing practice test, typing speed game, typing accuracy test" />
<!-- Favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://yourdomain.com/">
<meta property="og:title" content="TypeMaster - Free Online Typing Speed Test & Practice">
<meta property="og:description"
content="Test and improve your typing speed with TypeMaster. Practice typing, track your WPM, and compete with others. Perfect for beginners and professionals.">
<meta property="og:image" content="https://yourdomain.com/android-chrome-512x512.png">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://yourdomain.com/">
<meta property="twitter:title" content="TypeMaster - Free Online Typing Speed Test & Practice">
<meta property="twitter:description"
content="Test and improve your typing speed with TypeMaster. Practice typing, track your WPM, and compete with others. Perfect for beginners and professionals.">
<meta property="twitter:image" content="https://yourdomain.com/android-chrome-512x512.png">
<!-- Canonical URL -->
<link rel="canonical" href="https://yourdomain.com/" />
<!-- Structured Data -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebApplication",
"name": "TypeMaster - Typing Speed Test",
"description": "Free online typing test and practice tool to improve your typing speed and accuracy. Track your WPM and compete with others.",
"applicationCategory": "EducationalApplication",
"operatingSystem": "Web Browser",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
},
"publisher": {
"@type": "Organization",
"name": "TypeMaster",
"logo": {
"@type": "ImageObject",
"url": "https://yourdomain.com/android-chrome-512x512.png"
}
},
"screenshot": "https://yourdomain.com/android-chrome-512x512.png"
}
</script>
<!-- Firebase App and Auth SDKs -->
<script src="https://www.gstatic.com/firebasejs/9.22.0/firebase-app-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/9.22.0/firebase-auth-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/9.22.0/firebase-firestore-compat.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/chart.js@3.9.1/dist/chart.min.css">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="topographic-bg"></div>
<div id="confetti-canvas"></div>
<!-- Notification System -->
<div class="modal-overlay" id="notification-modal">
<div class="modal">
<div class="modal-body">
<p id="notification-message"></p>
</div>
<div class="modal-footer">
<button id="close-notification" tabindex="-1">OK</button>
</div>
</div>
</div>
<!-- Tutorial Modal -->
<div class="modal-overlay tutorial-modal" id="tutorial-modal">
<div class="modal">
<div class="modal-header">
<h2>Welcome to TypeMaster! 🎉</h2>
</div>
<div class="modal-body">
<div class="tutorial-steps">
<div class="tutorial-step">
<h3>Step 1: Choose Your Mode</h3>
<p>Select between Timed Test or Survival Mode</p>
</div>
<div class="tutorial-step">
<h3>Step 2: Adjust Settings</h3>
<p>Customize duration, difficulty, and language</p>
</div>
<div class="tutorial-step">
<h3>Step 3: Start Typing</h3>
<p>Click the input field and begin typing the words</p>
</div>
<div class="tutorial-step">
<h3>Step 4: Review Results</h3>
<p>Get detailed analysis of your performance</p>
</div>
</div>
</div>
<div class="modal-footer">
<button id="close-tutorial" tabindex="-1">Get Started</button>
</div>
</div>
</div>
<div class="container">
<header>
<h1>TypeMaster</h1>
<div class="controls">
<div class="user-status" id="user-status">
<div class="user-avatar" id="user-avatar">?</div>
<span class="user-name" id="user-name-display">Guest</span>
<button id="login-btn" tabindex="-1">Login</button>
<button id="logout-btn" style="display: none; width: 150px" tabindex="-1">
Logout
</button>
</div>
<button class="help-btn" id="help-btn" tabindex="-1" title="Help">
❓
</button>
</div>
</header>
<div class="settings-panel">
<h3> Game Mode </h3>
<br>
<div class="game-mode-selector">
<div class="game-mode-btn active" data-mode="timed" tabindex="-1">
Timed Test
</div>
<div class="game-mode-btn" data-mode="survival" tabindex="-1">
Survival Mode
</div>
<div class="game-mode-btn" data-mode="prediction" tabindex="-1">
Prediction Challenge
</div>
<div class="game-mode-btn" data-mode="numbers" tabindex="-1">
Numbers Only
</div>
<div class="game-mode-btn" data-mode="curriculum" tabindex="-1">
Curriculum
</div>
</div>
<div class="mode-settings active" id="timed-settings">
<div class="settings-grid">
<div class="setting-group">
<label for="time-select">Test Duration</label>
<select id="time-select" tabindex="-1">
<option value="30">30 Seconds</option>
<option value="60" selected>60 Seconds</option>
<option value="120">2 Minutes</option>
<option value="300">5 Minutes</option>
<option value="custom">Custom</option>
</select>
</div>
<div class="setting-group" id="custom-time-group" style="display: none">
<label for="custom-time">Custom Time (seconds)</label>
<input type="number" id="custom-time" min="10" max="600" value="60" tabindex="-1" />
</div>
<div class="setting-group">
<label for="difficulty-select">Difficulty</label>
<select id="difficulty-select" tabindex="-1">
<option value="easy" selected>Easy</option>
<option value="medium">Medium</option>
<option value="hard">Hard</option>
</select>
</div>
<div class="setting-group">
<label for="language-select">Language</label>
<select id="language-select" tabindex="-1">
<option value="english" selected>English</option>
<option value="bangla">Bangla</option>
</select>
</div>
<div class="setting-group">
<label for="punctuation-toggle">Punctuation & Capitals</label>
<select id="punctuation-toggle" tabindex="-1">
<option value="enabled">Enabled</option>
<option value="disabled" selected>Disabled</option>
</select>
</div>
<div class="setting-group">
<label for="sound-select">Keyboard Sound</label>
<select id="sound-select" tabindex="-1">
<option value="none">None (Silent)</option>
<option value="mechanical" selected>Mechanical (Cherry MX)</option>
<option value="typewriter">Typewriter (Vintage)</option>
<option value="asmr">ASMR (Soft Pink Noise)</option>
<option value="soft">Soft (Membrane)</option>
<option value="clicky">Clicky (Tactile)</option>
<option value="silent">Silent (Subtle)</option>
<option value="vintage">Vintage Computer</option>
<option value="modern">Modern Laptop</option>
<option value="gaming">Gaming Keyboard</option>
</select>
</div>
<div class="setting-group">
<label for="volume-control">Sound Volume: <span id="volume-value">70%</span></label>
<input type="range" id="volume-control" min="0" max="100" value="70" tabindex="-1" />
</div>
</div>
</div>
<div class="mode-settings" id="survival-settings">
<div class="settings-grid">
<div class="setting-group">
<label for="survival-type">End Condition</label>
<select id="survival-type" tabindex="-1">
<option value="mistakes" selected>Max Mistakes</option>
<option value="time">Time Limit</option>
</select>
</div>
<div class="setting-group" id="max-mistakes-group">
<label for="max-mistakes">Maximum Mistakes</label>
<input type="number" id="max-mistakes" min="1" max="50" value="5" tabindex="-1" />
</div>
<div class="setting-group" id="survival-time-group" style="display: none">
<label for="survival-time">Time Limit (minutes)</label>
<input type="number" id="survival-time" min="1" max="60" value="5" tabindex="-1" />
</div>
<div class="setting-group">
<label for="survival-difficulty">Difficulty</label>
<select id="survival-difficulty" tabindex="-1">
<option value="easy" selected>Easy</option>
<option value="medium">Medium</option>
<option value="hard">Hard</option>
</select>
</div>
<div class="setting-group">
<label for="survival-language">Language</label>
<select id="survival-language" tabindex="-1">
<option value="english" selected>English</option>
<option value="bangla">Bangla</option>
</select>
</div>
</div>
</div>
<div class="mode-settings" id="prediction-settings">
<div class="prediction-challenge">
<h3>Prediction Challenge</h3>
<p>
Type the predicted text based on the context. This helps improve
your typing flow and anticipation.
</p>
<div class="setting-group">
<label for="prediction-difficulty">Difficulty</label>
<select id="prediction-difficulty" tabindex="-1">
<option value="easy" selected>Easy</option>
<option value="medium">Medium</option>
<option value="hard">Hard</option>
</select>
</div>
</div>
</div>
<div class="mode-settings" id="numbers-settings">
<div class="setting-group">
<label for="numbers-length">Number of Digits</label>
<select id="numbers-length" tabindex="-1">
<option value="10">10 Digits</option>
<option value="20" selected>20 Digits</option>
<option value="50">50 Digits</option>
<option value="100">100 Digits</option>
</select>
</div>
<div class="setting-group">
<label for="numbers-type">Number Type</label>
<select id="numbers-type" tabindex="-1">
<option value="random" selected>Random</option>
<option value="sequential">Sequential</option>
<option value="decimal">Decimal Numbers</option>
<option value="phone">Phone Numbers</option>
</select>
</div>
</div>
<div class="mode-settings" id="curriculum-settings">
<div class="curriculum-container">
<h3>Typing Curriculum</h3>
<p>Follow our structured learning path to improve your typing skills.</p>
<div id="curriculum-levels">
<!-- Curriculum levels will appear here -->
</div>
</div>
</div>
<div class="theme-selector">
<div class="theme-option active" style="background: #c7c7c7" data-theme="light" tabindex="-1"></div>
<div class="theme-option" style="background: #363636" data-theme="dark" tabindex="-1"></div>
<div class="theme-option" style="background: #2563eb" data-theme="blue" tabindex="-1"></div>
<div class="theme-option" style="background: #db2777" data-theme="pink" tabindex="-1"></div>
<div class="theme-option" style="background: #059669" data-theme="green" tabindex="-1"></div>
<div class="theme-option" style="background: #7c3aed" data-theme="purple" tabindex="-1"></div>
<div class="theme-option" style="background: #ea580c" data-theme="orange" tabindex="-1"></div>
<div class="theme-option" style="background: #0891b2" data-theme="cyan" tabindex="-1"></div>
</div>
<div class="font-selector">
<div class="font-option active" data-font="default" tabindex="-1">Default</div>
<div class="font-option" data-font="monospace" tabindex="-1">Monospace</div>
<div class="font-option" data-font="serif" tabindex="-1">Serif</div>
<div class="font-option" data-font="sans-serif" tabindex="-1">Sans-Serif</div>
<div class="font-option" data-font="courier" tabindex="-1">Courier</div>
<div class="font-option" data-font="georgia" tabindex="-1">Georgia</div>
<div class="font-option" data-font="arial" tabindex="-1">Arial</div>
<div class="font-option" data-font="times" tabindex="-1">Times</div>
</div>
<button id="start-btn" tabindex="-1">Start Typing Test</button>
<button id="reset-btn" class="secondary" tabindex="-1">
Reset Test
</button>
</div>
<div class="test-area">
<div class="timer" id="timer">60</div>
<div class="words-container" id="words-container">
<!-- Words will be generated here -->
</div>
<div class="input-area">
<input type="text" id="typing-input" placeholder="Start typing here..." autocomplete="off"
tabindex="0" />
<button id="toggle-keyboard" class="toggle-keyboard-btn" aria-label="Toggle keyboard">
<i class="fas fa-keyboard"></i> <span>Hide Keyboard</span>
</button>
<div class="keyboard-container">
<div class="on-screen-keyboard" id="keyboard">
<!-- Keyboard will be generated here -->
</div>
</div>
</div>
</div>
<div class="stats-panel">
<div class="stats-grid">
<div class="stat">
<div class="stat-value" id="wpm">0</div>
<div class="stat-label">WPM</div>
</div>
<div class="stat">
<div class="stat-value" id="accuracy">100%</div>
<div class="stat-label">Accuracy</div>
</div>
<div class="stat">
<div class="stat-value" id="correct-words">0</div>
<div class="stat-label">Correct Words</div>
</div>
<div class="stat">
<div class="stat-value" id="incorrect-words">0</div>
<div class="stat-label">Incorrect Words</div>
</div>
<div class="stat">
<div class="stat-value" id="time-remaining">60</div>
<div class="stat-label">Seconds Left</div>
</div>
<div class="stat">
<div class="stat-value" id="keystrokes">0</div>
<div class="stat-label">Keystrokes</div>
</div>
</div>
</div>
<div class="ai-analysis">
<h2>Performance Analysis</h2>
<div class="analysis-content" id="analysis-content">
<p>Complete a test to see your detailed analysis</p>
</div>
<div class="analytics-grid">
<div class="analytics-card">
<h3>Progress Over Time</h3>
<div class="chart-container">
<canvas id="progress-chart"></canvas>
</div>
</div>
<div class="analytics-card">
<h3>Accuracy by Character</h3>
<div class="chart-container">
<canvas id="accuracy-chart"></canvas>
</div>
</div>
</div>
<div class="heatmap-container">
<div class="heatmap-title">Typing Heatmap</div>
<div class="heatmap-keys" id="heatmap-keys">
<!-- Heatmap will be generated here -->
</div>
</div>
<div class="error-breakdown">
<div class="heatmap-title">Common Errors</div>
<div id="error-breakdown">
<!-- Error breakdown will be generated here -->
</div>
</div>
</div>
<div class="profile-container" id="profile-container" style="display: none">
<div class="profile-avatar" id="profile-avatar">?</div>
<div class="profile-stats" id="profile-stats">
<!-- Profile stats will be generated here -->
</div>
</div>
<div class="achievements" id="achievements-container">
<!-- Achievements will be generated here -->
</div>
<hr>
<footer>
<p>Taafeef Bin Montaquim || All Rights Reserved</p>
<p>Check my other sites:
<br>
<a href="https://taskschedulepro.netlify.app/" id="privacy-link" tabindex="-1">Task Schedule Pro</a> |
<a href="https://weatherify-ai.netlify.app/" id="terms-link" tabindex="-1">Weatherify</a>
</p>
</footer>
</div>
<!-- Auth Modal -->
<div class="modal-overlay" id="auth-modal">
<div class="modal">
<div class="modal-header">
<h2>Login / Sign Up</h2>
<button class="modal-close-btn" id="close-auth" tabindex="-1">
×
</button>
</div>
<div class="modal-body">
<div class="form-tabs">
<div class="form-tab active" data-tab="login" tabindex="-1">
Login
</div>
<div class="form-tab" data-tab="signup" tabindex="-1">
Sign Up
</div>
</div>
<div id="login-form">
<div class="setting-group">
<label for="login-email">Email</label>
<input type="email" id="login-email" placeholder="Enter your email" tabindex="-1" />
</div>
<div class="setting-group">
<label for="login-password">Password</label>
<input type="password" id="login-password" placeholder="Enter your password" tabindex="-1" />
</div>
<button id="login-submit" class="modal-btn" tabindex="-1">
Login
</button>
<div class="google-signin" id="google-login" tabindex="-1">
<i class="fab fa-google"></i>
Sign in with Google
</div>
</div>
<div id="signup-form" style="display: none">
<div class="setting-group">
<label for="signup-email">Email</label>
<input type="email" id="signup-email" placeholder="Enter your email" tabindex="-1" />
</div>
<div class="setting-group">
<label for="signup-username">Username</label>
<input type="text" id="signup-username" placeholder="Choose a username" tabindex="-1" />
</div>
<div class="setting-group">
<label for="signup-password">Password</label>
<input type="password" id="signup-password" placeholder="Create a password" tabindex="-1" />
</div>
<div class="password-requirements">
<p>Password must contain:</p>
<ul>
<li id="req-length" class="requirement-not-met">
At least 8 characters
</li>
<li id="req-uppercase" class="requirement-not-met">
One uppercase letter
</li>
<li id="req-lowercase" class="requirement-not-met">
One lowercase letter
</li>
<li id="req-number" class="requirement-not-met">
One number
</li>
</ul>
</div>
<button id="signup-submit" class="modal-btn" tabindex="-1">
Sign Up
</button>
<div class="google-signin" id="google-signup" tabindex="-1">
<i class="fab fa-google"></i>
Sign up with Google
</div>
</div>
<div class="form-error" id="auth-error"></div>
</div>
</div>
</div>
<!-- Results Modal -->
<div class="modal-overlay" id="results-modal">
<div class="modal">
<div class="modal-header">
<h2>Test Results</h2>
<button class="modal-close-btn" id="close-results" tabindex="-1">
×
</button>
</div>
<div class="modal-body">
<div class="results-grid">
<div class="result-item">
<span class="result-label">WPM:</span>
<span class="result-value" id="result-wpm">0</span>
</div>
<div class="result-item">
<span class="result-label">Accuracy:</span>
<span class="result-value" id="result-accuracy">100%</span>
</div>
<div class="result-item">
<span class="result-label">Correct Words:</span>
<span class="result-value" id="result-correct">0</span>
</div>
<div class="result-item">
<span class="result-label">Incorrect Words:</span>
<span class="result-value" id="result-incorrect">0</span>
</div>
<div class="result-item">
<span class="result-label">Keystrokes:</span>
<span class="result-value" id="result-keystrokes">0</span>
</div>
<div class="result-item">
<span class="result-label">Time:</span>
<span class="result-value" id="result-time">60s</span>
</div>
</div>
<br>
<div class="achievements" id="results-achievements">
<!-- New achievements will appear here -->
</div>
</div>
<div class="modal-footer">
<button id="results-share" class="modal-btn secondary" tabindex="-1">
Share Results
</button>
<button id="results-retry" class="modal-btn" tabindex="-1">
Try Again
</button>
</div>
</div>
</div>
<!-- Privacy Policy Modal -->
<div class="modal-overlay" id="privacy-modal">
<div class="modal">
<div class="modal-header">
<h2>Privacy Policy</h2>
<button class="modal-close-btn" id="close-privacy" tabindex="-1">
×
</button>
</div>
<div class="modal-body">
<p>
TypeMaster is committed to protecting your privacy. We collect only
the data necessary to provide our typing test services and improve
your experience.
</p>
<h3>Data We Collect</h3>
<ul>
<li>Typing test results (WPM, accuracy, etc.)</li>
<li>Account information (if you create an account)</li>
<li>Performance analytics to help improve your skills</li>
</ul>
<h3>How We Use Your Data</h3>
<ul>
<li>To provide personalized typing practice recommendations</li>
<li>To track your progress over time</li>
<li>To improve our services</li>
</ul>
<p>
We do not sell your personal data to third parties. Your data is
stored securely and used only to enhance your TypeMaster experience.
</p>
</div>
<div class="modal-footer">
<button id="accept-privacy" class="modal-btn" tabindex="-1">
I Understand
</button>
</div>
</div>
</div>
<!-- Terms of Service Modal -->
<div class="modal-overlay" id="terms-modal">
<div class="modal">
<div class="modal-header">
<h2>Terms of Service</h2>
<button class="modal-close-btn" id="close-terms" tabindex="-1">
×
</button>
</div>
<div class="modal-body">
<p>
By using TypeMaster, you agree to the following terms and conditions:
</p>
<h3>User Responsibilities</h3>
<ul>
<li>You must be at least 13 years old to use this service</li>
<li>You are responsible for maintaining the security of your account</li>
<li>You agree not to use automated scripts or bots</li>
</ul>
<h3>Service Usage</h3>
<ul>
<li>TypeMaster is provided for personal and educational use</li>
<li>We reserve the right to modify or discontinue the service</li>
<li>Content is provided for typing practice purposes only</li>
</ul>
<h3>Limitation of Liability</h3>
<p>
TypeMaster is not liable for any damages resulting from the use of
our service. We make no warranties about the accuracy or reliability
of the service.
</p>
</div>
<div class="modal-footer">
<button id="accept-terms" class="modal-btn" tabindex="-1">
I Agree
</button>
</div>
</div>
</div>
<!-- Help Modal -->
<div class="modal-overlay" id="help-modal">
<div class="modal">
<div class="modal-header">
<h2>TypeMaster Help Guide</h2>
<button class="modal-close-btn" id="close-help" tabindex="-1">
×
</button>
</div>
<div class="modal-body">
<h3>🎯 Getting Started</h3>
<p>TypeMaster is a comprehensive typing test platform designed to improve your typing speed and
accuracy.</p>
<h3>⌨️ Keyboard Shortcuts</h3>
<ul>
<li><strong>Tab</strong> - Start a new test or restart current test</li>
<li><strong>Escape</strong> - Stop current test (does not restart)</li>
<li><strong>Just start typing</strong> - Auto-starts the test</li>
</ul>
<h3>🎮 Game Modes</h3>
<ul>
<li><strong>Timed Test</strong> - Type as many words as you can within a time limit</li>
<li><strong>Survival Mode</strong> - Continue until you reach maximum mistakes or time runs out</li>
<li><strong>AI Practice</strong> - Get personalized practice recommendations</li>
<li><strong>Prediction Challenge</strong> - Type predicted text to improve flow</li>
<li><strong>Numbers Only</strong> - Practice typing numbers and special characters</li>
<li><strong>Curriculum</strong> - Follow structured lessons to improve systematically</li>
</ul>
<h3>📊 Features</h3>
<ul>
<li><strong>Auto-word generation</strong> - New words appear automatically as you type</li>
<li><strong>Real-time stats</strong> - WPM, accuracy, and metrics update live</li>
<li><strong>Visual feedback</strong> - Green for correct, red for incorrect characters</li>
<li><strong>Achievements</strong> - Unlock badges based on your performance</li>
<li><strong>Multiple themes</strong> - Choose from 5 different color themes</li>
<li><strong>Profile tracking</strong> - Save your progress with Google sign-in</li>
<li><strong>Keyboard sounds</strong> - 6 different sound types with volume control</li>
</ul>
<h3>🔊 Keyboard Sound Types</h3>
<ul>
<li><strong>Mechanical</strong> - Cherry MX Blue style clicky switches</li>
<li><strong>Typewriter</strong> - Vintage mechanical typewriter with metallic resonance</li>
<li><strong>ASMR</strong> - Soft, muffled pink noise for relaxing typing</li>
<li><strong>Soft</strong> - Quiet membrane keyboard sound</li>
<li><strong>Clicky</strong> - High-pitched tactile switch clicks</li>
<li><strong>Silent</strong> - Very subtle feedback for quiet environments</li>
</ul>
<h3>💡 Tips for Success</h3>
<ul>
<li>Focus on accuracy first, speed will come naturally</li>
<li>Use proper finger placement on home row keys</li>
<li>Practice regularly for best results</li>
<li>Watch the pulsing animation on the current word</li>
<li>Take breaks to avoid fatigue</li>
</ul>
</div>
<div class="modal-footer">
<button id="accept-help" class="modal-btn" tabindex="-1">
Got It!
</button>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/chart.js@3.9.1/dist/chart.min.js"></script>
<script src="script.js"></script>
</body>
</html>