-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathindex.html
69 lines (68 loc) · 2.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Bungee+Inline&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<title>Drummer</title>
</head>
<body>
<header>
<h1>Drummer</h1>
</header>
<div class="key_container">
<div class="container-1">
<div data-key="65" class="beat">
<kbd>A</kbd>
<p>BOOM</p>
</div>
<div data-key="83" class="beat">
<kbd>S</kbd>
<p>CLAP</p>
</div>
<div data-key="68" class="beat">
<kbd>D</kbd>
<p>HIHAT</p>
</div>
<div data-key="70" class="beat">
<kbd>F</kbd>
<p>KICK</p>
</div>
<div data-key="71" class="beat">
<kbd>G</kbd>
<p>OPENHAT</p>
</div>
</div>
<div class="container-2">
<div data-key="72" class="beat">
<kbd>H</kbd>
<p>RIDE</p>
</div>
<div data-key="74" class="beat">
<kbd>J</kbd>
<p>SNARE</p>
</div>
<div data-key="75" class="beat">
<kbd>K</kbd>
<p>TINK</p>
</div>
<div data-key="76" class="beat">
<kbd>L</kbd>
<p>TOM</p>
</div>
</div>
</div>
<!-- diffrent sounds used in the project -->
<audio src="./Sounds/boom.wav" data-key="65"></audio>
<audio src="./Sounds/clap.wav" data-key="83"></audio>
<audio src="./Sounds/hihat.wav" data-key="68"></audio>
<audio src="./Sounds/kick.wav" data-key="70"></audio>
<audio src="./Sounds/openhat.wav" data-key="71"></audio>
<audio src="./Sounds/ride.wav" data-key="72"></audio>
<audio src="./Sounds/snare.wav" data-key="74"></audio>
<audio src="./Sounds/tink.wav" data-key="75"></audio>
<audio src="./Sounds/tom.wav" data-key="76"></audio>
<script src="script.js"></script>
</body>
</html>