-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
61 lines (54 loc) · 1.58 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
<!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" />
<link rel="stylesheet" href="style.css" />
<title>Hole and Mole Game</title>
</head>
<body>
<h1>Catch me, If you can</h1>
<h2 class="score-block">Score:<span class="score">0</span></h2>
<div class="levels">
<div>
<input type="radio" name="level" id="easy" checked />
<label for="easy">Easy</label><br />
</div>
<div>
<input type="radio" name="level" id="medium" />
<label for="medium">Medium</label><br />
</div>
<div>
<input type="radio" name="level" id="hard" />
<label for="hard">Hard</label><br />
</div>
</div>
<div class="controls">
<input type="number" class="controls-content timer" min="5" max="1000" step="5" placeholder="duration" />
<button class="controls-content start-btn" onClick="startGame()">Start</button>
<button class="controls-content cancel-btn" onClick="endGame()">Cancel</button>
</div>
<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="script.js"></script>
</body>
</html>