This repository was archived by the owner on Dec 12, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathgame.html
More file actions
53 lines (50 loc) · 1.4 KB
/
game.html
File metadata and controls
53 lines (50 loc) · 1.4 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta http-equiv="Cache-Control" content="no-cache" />
<link rel="stylesheet" href="../css/game.css" />
<link
rel="icon"
href="../../images/sourceco_icon.png"
type="image/x-icon"
/>
<!-- this is the icon of the tab in the browser in the top -->
<title>Game</title>
</head>
<body>
<audio id="sound1" src="../../sounds/shoot.mp3" preload="auto"></audio>
<input
type="checkbox"
id="duck1"
onclick="document.getElementById('sound1').play();"
/>
<label for="duck1" class="duck"></label>
<input
type="checkbox"
id="duck2"
onclick="document.getElementById('sound1').play();"
/>
<label for="duck2" class="duck"></label>
<input
type="checkbox"
id="duck3"
onclick="document.getElementById('sound1').play();"
/>
<label for="duck3" class="duck"></label>
<input
type="checkbox"
id="duck4"
onclick="document.getElementById('sound1').play();"
/>
<label for="duck4" class="duck"></label>
<input
type="checkbox"
id="duck5"
onclick="document.getElementById('sound1').play();"
/>
<label for="duck5" class="duck"></label>
</body>
</html>