-
Notifications
You must be signed in to change notification settings - Fork 0
/
intochords.html
100 lines (84 loc) · 2.67 KB
/
intochords.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!DOCTYPE html>
<html lang="pl" style="overflow: hidden;">
<head>
<title>Intochords</title>
<meta name="description" content="">
<meta name = "robots" content="index, follow">
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta charset="UTF-8">
<link rel="stylesheet" href="stylesheet.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<h1 class="title">Intochords</h1>
<nav role='navigation'>
<div id="menuToggle">
<input type="checkbox" />
<span></span>
<span></span>
<span></span>
<ul id="menu">
<a href="#"><li>Home</li></a>
<a href="games_rules.html"><li>Zasady Gry</li></a>
<a href="#"><li>Info</li></a>
<a href="#"><li>Contact</li></a>
</ul>
</div>
</nav>
<!--Chord Type Selection-->
<div class="chord-type-container" id="chord-type-container">
<div class="chord-type major" id="major">Major</div>
<div class="chord-type minor" id="minor">Minor</div>
</div>
<div class="container">
<div id="headers">
<div><b>I</b></div>
<div><b>III</b></div>
<div><b>V</b></div>
</div>
<div id="game-board">
</div>
<div class="buttons">
<button id="check-btn">Check</button>
<button id="play-again-btn">Change note</button>
</div>
</div>
<!-- Add this section below the game-board div and above the notation-container div -->
<div class="piano">
<div class="black-keys">
<div class="black-key" id="C#">C#</div>
<div class="black-key" id="D#">D#</div>
<div class="black-key" id="F#">F#</div>
<div class="black-key" id="G#">G#</div>
<div class="black-key" id="A#">A#</div>
</div>
<div class="white-keys">
<div class="white-key" id="C">C</div>
<div class="white-key" id="D">D</div>
<div class="white-key" id="E">E</div>
<div class="white-key" id="F">F</div>
<div class="white-key" id="G">G</div>
<div class="white-key" id="A">A</div>
<div class="white-key" id="B">B</div>
</div>
</div>
<!--Toggle-->
<div class="notation-container">
<div class="toggle-container">
<p style="width: 150px;">Display Notation:</p>
<label class="toggle">
<input id="notation-toggle" type="checkbox">
<span class="slider round"></span>
</label>
<p id="notation-representation">#</p>
</div>
</div>
<div id="result-popup">
<div class="modal-content">
<h2>You won!</h2>
<button id="close-result-popup">Play again</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>