Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
41 lines (39 loc) · 1.52 KB
/
Copy pathindex.html
File metadata and controls
41 lines (39 loc) · 1.52 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Typing Simulator & Racer (Collapsible)</title>
<link rel="stylesheet" href="./src/styles.css">
</head>
<body>
<div class="simulator-box">
<div class="controls-wrapper">
<div class="controls-row">
<div class="control-item">
<label for="mode-select">Mode:</label>
<select id="mode-select">
<option value="simulator">Auto Simulator</option>
<option value="racer">Interactive Racer</option>
</select>
</div>
<div class="control-item">
<label for="wpm-input">Target WPM:</label>
<input type="number" id="wpm-input" class="wpm-number-input" min="10" max="500" value="120" step="5">
</div>
<div class="control-item">
<span class="stat-label">Live WPM:</span>
<span id="wpm-live" class="wpm-live-value">0</span>
</div>
</div>
<!-- Native Collapsible Practice Text Module -->
<details class="collapsible-container">
<summary>⚙️ Custom Practice Text Options</summary>
<textarea id="custom-text" class="custom-text-box" placeholder="Paste custom words here... (Clearing this box restores default paragraph)"></textarea>
</details>
</div>
<div class="text-display" id="text-display"></div>
<input type="text" class="input-field" id="user-input" placeholder="Switch to Racer mode to start typing..." disabled>
</div>
<script src="./src/scripts.js"></script>
</body>
</html>