-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate.html
More file actions
27 lines (27 loc) · 741 Bytes
/
template.html
File metadata and controls
27 lines (27 loc) · 741 Bytes
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
<html>
<head>
<link rel="stylesheet" href="Components/abyss.css">
<audio id="select" src="https://files.catbox.moe/12xpxe.mp3" preload="auto"></audio>
</head>
<style>
body {
background-color: #20183b;
}
</style>
<body>
<h1>H1</h1>
<h2>H2</h2>
<p>P</p>
<a onmouseover="playHoverSound()">Link(not actually, just an a with no href)</a>
<h1></h1>
<a target="_blank"href="https://www.youtube.com/watch?v=A8nCgsHb6TA" onmouseover="playHoverSound()">Actual Link</a>
<script>
function playHoverSound() {
const sound = document.getElementById("select");
sound.volume = 0.2;
sound.currentTime = 0;
sound.play();
}
</script>
</body>
</html>