-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (64 loc) · 1.88 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
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>Soundboard</title>
<!-- CSS -->
<link rel="stylesheet" href="./style.css">
</head>
<body>
<!-- Title -->
<h1> ASMR Generator </h1>
<!-- Keys -->
<div class="keys">
<div data-key="81" class="key">
<kbd>Q</kbd>
<span class="sound">rain</span>
</div>
<div data-key="87" class="key">
<kbd>W</kbd>
<span class="sound">whispers</span>
</div>
<div data-key="69" class="key">
<kbd>E</kbd>
<span class="sound">writing</span>
</div>
<div data-key="65" class="key">
<kbd>A</kbd>
<span class="sound">purring</span>
</div>
<div data-key="83" class="key">
<kbd>S</kbd>
<span class="sound">crickets</span>
</div>
<div data-key="68" class="key">
<kbd>D</kbd>
<span class="sound">stream</span>
</div>
<div data-key="90" class="key">
<kbd>Z</kbd>
<span class="sound">brushing</span>
</div>
<div data-key="88" class="key">
<kbd>X</kbd>
<span class="sound">tapping</span>
</div>
<div data-key="67" class="key">
<kbd>C</kbd>
<span class="sound">fireplace</span>
</div>
</div>
<!-- Sounds -->
<audio loop data-key="81" src="./sounds/rain.mp3"></audio>
<audio loop data-key="87" src="./sounds/whispers.mp3"></audio>
<audio loop data-key="69" src="./sounds/writing.mp3"></audio>
<audio loop data-key="65" src="./sounds/purring.mp3"></audio>
<audio loop data-key="83" src="./sounds/crickets.mp3"></audio>
<audio loop data-key="68" src="./sounds/stream.mp3"></audio>
<audio loop data-key="90" src="./sounds/brushing.mp3"></audio>
<audio loop data-key="88" src="./sounds/tapping.mp3"></audio>
<audio loop data-key="67" src="./sounds/fire.mp3"></audio>
<!-- JavaScript -->
<script src="./script.js"></script>
</body>
</html>