-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (79 loc) · 2.55 KB
/
index.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
<!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="styles.css" />
<link
href="https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap"
rel="stylesheet"
/>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<script src="app.js" defer></script>
<title>SpeedType</title>
</head>
<body>
<div class="container border">
<div id="container-header">
<p class="header-item">Wpm: </p>
<div id="wpm" class="wpm header-item">0</div>
<div id="headerTitle" class="header-title">SpeedType⚡</div>
<p id="timer-label" class="header-item">Time: </p>
<div id="timer" class="timer header-item">0.00</div>
</div>
<div class="quote-display" id="quoteDisplay">
⚡ Welcome to SpeedType! Please wait..... ⚡
</div>
<input
id="textInput"
class="text-input border"
placeholder="Start typing to begin!"
autofocus
/>
<div class="parameter-container">
<div class="options">
<div class="line">
<label for="languagePicker">Language: </label>
<select id="langaugePicker" name="langaugePicker">
<option></option>
</select>
</div>
<div>
<label for="strip-punctuation">Strip Punctuation: </label>
<input
class="checkbox"
type="checkbox"
id="stripPunctuation"
name="strip-punctuation"
/>
</div>
</div>
<div class="options">
<div class="line">
<label for="minLengthInput">Min length (chars): </label>
<input
name="minLengthInput"
id="minLengthInput"
placeholder="Min length"
class="input-box"
/>
</div>
<div class="line">
<label for="maxLengthInput">Max length (chars): </label>
<input
name="maxLengthInput"
id="maxLengthInput"
placeholder="Max length"
class="input-box"
/>
</div>
</div>
<button onclick="startNew()" class="new-button">
New text<br />(Enter)
</button>
</div>
</div>
<script src="countries.js"></script>
</body>
</html>