-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJS1.html
69 lines (68 loc) · 2.47 KB
/
JS1.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
<html>
<head>
<meta charset="UTF-8">
<meta name = "viewport" content = "width = device-width, initial-scale = 1.0">
<link rel = "stylesheet" type = "text/css" href = "JS1.css">
<title>DRUM KIT</title>
</head>
<body>
<p style="color:rgb(11, 115, 250); font-size: 100px; font-weight: bold; font: outline;">DRUM KIT</p>
<div class = "keys">
<div class = "key" data-key = "65">
<kbd>A</kbd>
<br>
<span class = "sound">Clap</span>
</div>
<div class = "key" data-key = "83">
<kbd>S</kbd>
<br>
<span class = "sound">Hihat</span>
</div>
<div class = "key" data-key = "68">
<kbd>D</kbd>
<br>
<span class = "sound">Kick</span>
</div>
<div class = "key" data-key = "70">
<kbd>F</kbd>
<br>
<span class = "sound">Openhat</span>
</div>
<div class = "key" data-key = "71">
<kbd>G</kbd>
<br>
<span class = "sound">Boom</span>
</div>
<div class = "key" data-key = "72">
<kbd>H</kbd>
<br>
<span class = "sound">Ride</span>
</div>
<div class = "key" data-key = "74">
<kbd>J</kbd>
<br>
<span class = "sound">Snare</span>
</div>
<div class = "key" data-key = "75">
<kbd>K</kbd>
<br>
<span class = "sound">Tom</span>
</div>
<div class = "key" data-key = "76">
<kbd>L</kbd>
<br>
<span class = "sound">Tink</span>
</div>
</div>
<audio data-key="65" src="Sounds/clap.wav"></audio>
<audio data-key="83" src="Sounds/hihat.wav"></audio>
<audio data-key="68" src="Sounds/kick.wav"></audio>
<audio data-key="70" src="Sounds/openhat.wav"></audio>
<audio data-key="71" src="Sounds/boom.wav"></audio>
<audio data-key="72" src="Sounds/ride.wav"></audio>
<audio data-key="74" src="Sounds/snare.wav"></audio>
<audio data-key="75" src="Sounds/tom.wav"></audio>
<audio data-key="76" src="Sounds/tink.wav"></audio>
<script src = "JS1.js"></script>
</body>
</html>