-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (40 loc) · 1.68 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=ZCOOL+KuaiLe&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="style.css" />
<title>Virtual Piano</title>
<link rel="icon" type="image/x-icon" href="https://i.imgur.com/iN5OAc0.png">
</head>
<body>
<div class="container">
<div class="sub-container">
<h4>Piano</h4>
<div class="white-keys">
<kbd class="piano-key" id="keyA" onclick="check(this.id)">A</kbd>
<kbd class="piano-key" id="keyS" onclick="check(this.id)">S</kbd>
<kbd class="piano-key" id="keyD" onclick="check(this.id)">D</kbd>
<kbd class="piano-key" id="keyF" onclick="check(this.id)">F</kbd>
<kbd class="piano-key" id="keyG" onclick="check(this.id)">G</kbd>
<kbd class="piano-key" id="keyH" onclick="check(this.id)">H</kbd>
<kbd class="piano-key" id="keyJ" onclick="check(this.id)">J</kbd>
</div>
<div class="black-keys">
<kbd class="piano-key" id="keyW" onclick="check(this.id)">W</kbd>
<kbd class="piano-key" id="keyE" onclick="check(this.id)">E</kbd>
<kbd class="piano-key" id="keyT" onclick="check(this.id)">T</kbd>
<kbd class="piano-key" id="keyY" onclick="check(this.id)">Y</kbd>
<kbd class="piano-key" id="keyU" onclick="check(this.id)">U</kbd>
</div>
</div>
</div>
<script src="main.js"></script>
</body>
</html>