-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (65 loc) · 2.23 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
<!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>Drum Kit</title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Mochiy+Pop+P+One&display=swap" rel="stylesheet">
</head>
<body>
<div class="container">
<ul class="list">
<li data-key="65" class="key">
<div class="symbol">A</div>
<div class="legend">boom</div>
</li>
<li data-key="83" class="key">
<div class="symbol">S</div>
<div class="legend">clap</div>
</li>
<li data-key="68" class="key">
<div class="symbol">D</div>
<div class="legend">hihat</div>
</li>
<li data-key="70" class="key">
<div class="symbol">F</div>
<div class="legend">kick</div>
</li>
<li data-key="71" class="key">
<div class="symbol">G</div>
<div class="legend">openhat</div>
</li>
<li data-key="72" class="key">
<div class="symbol">H</div>
<div class="legend">ride</div>
</li>
<li data-key="74" class="key">
<div class="symbol">J</div>
<div class="legend">snare</div>
</li>
<li data-key="75" class="key">
<div class="symbol">K</div>
<div class="legend">tink</div>
</li>
<li data-key="76" class="key">
<div class="symbol">L</div>
<div class="legend">tom</div>
</li>
</ul>
</div>
<audio data-key="65" src="sounds/boom.wav">boom</audio>
<audio data-key="83" src="sounds/clap.wav">clap</audio>
<audio data-key="68" src="sounds/hihat.wav">hihat</audio>
<audio data-key="70" src="sounds/kick.wav">kick</audio>
<audio data-key="71" src="sounds/openhat.wav">openhat</audio>
<audio data-key="72" src="sounds/ride.wav">ride</audio>
<audio data-key="74" src="sounds/snare.wav">snare</audio>
<audio data-key="75" src="sounds/tink.wav">tink</audio>
<audio data-key="76" src="sounds/tom.wav">tom</audio>
<script src="script.js"></script>
</body>
</html>