-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (38 loc) · 1.38 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<script src="script.js" defer></script>
<title>Piano</title>
</head>
<body>
<div class="piano">
<div data-note="C" class="key white"></div>
<div data-note="Db" class="key black"></div>
<div data-note="D" class="key white"></div>
<div data-note="Eb" class="key black"></div>
<div data-note="E" class="key white"></div>
<div data-note="F" class="key white"></div>
<div data-note="Gb" class="key black"></div>
<div data-note="G" class="key white"></div>
<div data-note="Ab" class="key black"></div>
<div data-note="A" class="key white"></div>
<div data-note="Bb" class="key black"></div>
<div data-note="B" class="key white"></div>
</div>
<audio id="C" src="notes/C.mp3"></audio>
<audio id="Db" src="notes/Db.mp3"></audio>
<audio id="D" src="notes/D.mp3"></audio>
<audio id="Eb" src="notes/Eb.mp3"></audio>
<audio id="E" src="notes/E.mp3"></audio>
<audio id="F" src="notes/F.mp3"></audio>
<audio id="Gb" src="notes/Gb.mp3"></audio>
<audio id="G" src="notes/G.mp3"></audio>
<audio id="Ab" src="notes/Ab.mp3"></audio>
<audio id="A" src="notes/A.mp3"></audio>
<audio id="Bb" src="notes/Bb.mp3"></audio>
<audio id="B" src="notes/B.mp3"></audio>
</body>
</html>