-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (43 loc) · 1.42 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
<!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" />
<!-- --- FONT START --- -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;1,900&family=Monofett&family=Press+Start+2P&display=swap"
rel="stylesheet"
/>
<!-- --- FONT END --- -->
<link rel="stylesheet" href="style.css" />
<title>Speedgame</title>
</head>
<body>
<h1>Speedgame</h1>
<div class="game">
<h5>Your score:</h5>
<p id="score">0</p>
<div class="buttons">
<div id="btn1" class="button">1</div>
<div id="btn2" class="button">2</div>
<div id="btn3" class="button">3</div>
<div id="btn4" class="button">4</div>
</div>
<button type="button" id="start">Start game</button>
<button type="button" id="stop">Stop game</button>
</div>
<div id="overlay">
<div class="modal">
<p id="missed3"></p>
<p id="scoreEndText">Your score was:</p>
<p>Your score:</p>
<p id="scoreEnd">0</p>
<button type="button" id="close">Close</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>