-
Notifications
You must be signed in to change notification settings - Fork 0
/
WhackAMole.html
121 lines (109 loc) · 5.2 KB
/
WhackAMole.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE Html>
<html lang = "en">
<head>
<meta charset="UFT-8">
<meta name="viewpoint" content="width=device-width, initial-scale=1.0">
<title>Whack A Mole</title>
<link rel="stylesheet" href="./css/bootstrap.min.css">
<link rel="stylesheet" href="./css/whackamole.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Courgette">
<link rel="stylesheet" href="./css/all.css">
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg px-4">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#myNav">
<span class="toggler-icon"><i class="fas fa-bars"></i></span>
</button>
<div class="collapse navbar-collapse" id="myNav">
<ul class="navbar-nav mx-auto text-capitalize">
<li class="dropdown">
<a data-toggle="dropdown" class="dropdown-toggle" href="#"> Easy Projects <b class="caret"></b></a>
<ul class="dropdown-content">
<li class="nav-item active">
<a class="nav-link" href="index.html">Colour Change</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="hex.html">Colour Change Hex Code</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="quotes.html">Random Quote</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="counter.html">Counter</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="Gallery.html">Gallery</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="calculator.html">Calculator</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="clock.html">Clock</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="mortgage.html">Mortgage Calc.</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="RSS.html">RSS Feed for BBC News</a>
</li>
</ul>
</li>
<li class="dropdown">
<a data-toggle="dropdown" class="dropdown-toggle" href="#"> Intermediate Projects <b class="caret"></b></a>
<ul class="dropdown-content">
<li class="nav-item active">
<a class="nav-link" href="bakerywebpage.html">Bakery Webpage</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="budget.html">Budgeting</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="brickBreaker.html">Brick Breaker</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="WhackAMole.html">Whack A Mole</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="todo.html">ToDo</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="hangman.html">Hangman</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="headsOrTails.html">Heads Or Tails</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="plinko.html">Plinko</a>
</li>
</ul>
</li>
</ul>
</div>
</nav>
</header>
<h1>Whack-a-mole!</h1><span class="score">0</span>
<button id="start" onClick="startGame()">Start!</button>
<div class="game">
<div class="hole hole1">
<div class="mole"></div>
</div>
<div class="hole hole2">
<div class="mole"></div>
</div>
<div class="hole hole3">
<div class="mole"></div>
</div>
<div class="hole hole4">
<div class="mole"></div>
</div>
<div class="hole hole5">
<div class="mole"></div>
</div>
<div class="hole hole6">
<div class="mole"></div>
</div>
</div>
<script src="./js/whackamole.js"></script>
</body>
</html>