-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
42 lines (38 loc) · 1.57 KB
/
index.html
File metadata and controls
42 lines (38 loc) · 1.57 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MathTrain by 4NP</title>
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap" rel="stylesheet">
</head>
<body>
<header>
<h1 class="header-title">MathTrain</h1>
<div class="header-stats">
<p class="header-streak" id="header-streak"></p>
<p class="header-best" id="header-best"></p>
</div>
</header>
<div class="game-container">
<div class="game">
<p class="game-task" id="game-task"></p>
<input type="number" placeholder="Enter here" class="game-input" id="game-input">
<button class="game-try" id="game-try" onclick="tryGuess()">Try</button>
</div>
</div>
<footer>
<p>Created by <a href="https://www.4np.dev" target="_blank">4NP</a></p>
</footer>
<div class="incorrect" id="incorrect">
<h1 class="incorrect-header">Incorrect!</h1>
<p class="incorrect-correction" id="incorrect-correction"></p>
<p class="incorrect-guess" id="incorrect-guess"></p>
<p class="incorrect-streak" id="incorrect-streak"></p>
<button class="incorrect-reset" onclick="generateTask(); resetUI();">Reset</button>
</div>
<div class="overlay" id="overlay"></div>
<script src="script.js"></script>
</body>
</html>