-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
38 lines (37 loc) · 1.24 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
<!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" />
<title>Alt Deleted</title>
<link href="https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<h1 class="head">Alt Deleted</h1>
<div class="audio">
<audio controls autoplay hidden loop>
<source src="./assets/retro.mp3" type="audio/mp3" />
</audio>
🔊
</div>
<a class="home audio" href="./index.html">
🏠
</a>
<div class="container">
<a id="parrot" href="/parrot.html">LEVEL 1</a>
<a id="fish" href="/fish.html">LEVEL 2</a>
<a id="lion" href="/lion.html">LEVEL 3</a>
<a id="elephant" href="/elephant.html">LEVEL 4</a>
<a id="tortise" href="./tortise.html">LEVEL 5</a>
<a id="turtle" href="./turtle.html">LEVEL 6</a>
</div>
<script>
const sound = document.querySelector(".audio");
sound.addEventListener("click", () => {
sound.children[0].muted=!sound.children[0].muted;
});
</script>
</body>
</html>