-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
63 lines (56 loc) · 2.73 KB
/
index.html
File metadata and controls
63 lines (56 loc) · 2.73 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Whack-a-Mouse</title>
<link rel="stylesheet" href="style.css">
<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=Pixelify+Sans:wght@400..700&display=swap" rel="stylesheet">
</head>
<body>
<div class="masterx">
<div style="text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center;">
<h1>Whack-a-Mouse</h1>
<div style=" display: flex; justify-content: space-evenly; align-items: center; width: 100vw;">
<p style="display: inline;margin-left: 10vw;">Timer: <span id="timer">30</span></p>
<div style="margin-left: 18vw;"> <button id="startButton">Start</button>
<button id="resetButton">Reset</button></div>
<p style="display: inline-block; margin-left: 8vw;">Score: <span id="score">0</span></p>
<p style="display: inline-block; margin-left: 7vw;">High Score: <span id="highScore">0</span></p>
</div>
</div>
<div class="master">
<div class="game-board">
<div class="hole" id="hole1"></div>
<div class="hole" id="hole2"></div>
<div class="hole" id="hole3"></div>
<div class="hole" id="hole4"></div>
<div class="hole" id="hole5"></div>
<div class="hole" id="hole6"></div>
<div class="hole" id="hole7"></div>
<div class="hole" id="hole8"></div>
<div class="hole" id="hole9"></div>
<div class="hole" id="hole10"></div>
<div class="hole" id="hole11"></div>
<div class="hole" id="hole12"></div>
<div class="hole" id="hole13"></div>
<div class="hole" id="hole14"></div>
<div class="hole" id="hole15"></div>
<div class="hole" id="hole16"></div>
<div class="hole" id="hole17"></div>
<div class="hole" id="hole18"></div>
<div class="hole" id="hole19"></div>
<div class="hole" id="hole20"></div>
<div class="hole" id="hole21"></div>
<div class="hole" id="hole22"></div>
<div class="hole" id="hole23"></div>
<div class="hole" id="hole24"></div>
<div class="hole" id="hole25"></div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>