-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (68 loc) · 3.62 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>RPM: Rapid Plus Math</title>
<meta name="description"
content="RPM: Rapid Plus Math is a fast-paced arithmetic game to improve your mental math skills. Challenge yourself to solve equations as quickly as possible and climb the high score leaderboard.">
<meta name="keywords" content="RPM, Rapid Plus Math, arithmetic, mental math, game">
<meta name="author" content="Your Name Here">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Open Graph meta tags for social media sharing -->
<meta property="og:title" content="RPM: Rapid Plus Math">
<meta property="og:description"
content="RPM: Rapid Plus Math is a fast-paced arithmetic game to improve your mental math skills. Challenge yourself to solve equations as quickly as possible and climb the high score leaderboard.">
<meta property="og:image" content="https://i.imgur.com/Z319bQR.png">
<meta property="og:url" content="https://unicodecreative.com/rpm">
<meta property="og:type" content="website">
<!-- Twitter Card meta tags for social media sharing -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="RPM: Rapid Plus Math">
<meta name="twitter:description"
content="RPM: Rapid Plus Math is a fast-paced arithmetic game to improve your mental math skills. Challenge yourself to solve equations as quickly as possible and climb the high score leaderboard.">
<meta name="twitter:image" content="https://i.imgur.com/Z319bQR.png">
<!-- Favicon -->
<link rel="icon" type="image/png" href="favicon.png">
<link rel="stylesheet" href="style.css">
</head>
<body class="math-background">
<div class="math-background">
<main>
<div class="game-panel">
<h1 class="title">RPM: Rapid Plus Math</h1>
<p>Answer as many math questions as you can in 60 seconds! <br><i>*You can use the enter button to answer</i></p>
<div id="menu">
<button class="button" id="startButton">Start</button>
</div>
<div id="game" class="form-hidden">
<div id="question"></div>
<form>
<label for="answer">Answer:</label>
<input type="number" id="answer" name="answer" min="1" max="100" required>
<button class="button" type="submit">Submit</button>
</form>
<p id="score">Score: 0</p>
<p id="time">Time: 60</p>
<p id="high-score">High score: 0</p>
<div class="progress-container form-hidden">
<div class="progress-bar"></div>
</div>
<button class="button" id="start-again-button" style="display:none;">Start Again</button>
</div>
<audio id="myAudio" autoplay hidden>
<source src="Game Intense.wav" type="audio/wav">
</audio>
</div>
</main>
<div class="floating-button">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" width="24px" height="24px">
<path d="M0 0h24v24H0z" fill="none" />
<path
d="M12 2C6.486 2 2 6.486 2 12s4.486 10 10 10 10-4.486 10-10S17.514 2 12 2zm0 15a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm1-8v6h-2V9h2"
fill="#ffffff" />
</svg>
</div>
</div>
<script src="game.js"></script>
</body>
</html>