generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
122 lines (108 loc) · 4.83 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
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!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">
<!-- Favicons -->
<link rel="icon" type="image/png" sizes="16x16" href="assets/images/favicons/favicon.ico">
<!-- Bootrap CDN -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.6.0/css/bootstrap.min.css">
<!-- Font Awesome CDN -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<!-- Local CSS Link -->
<link rel="stylesheet" href="assets/css/style.css" type="text/css">
<title>Simons Piano</title>
</head>
<body>
<main class="container-fluid game">
<header class="row justify-content-center">
<h1>
<i class="fas fa-music"></i> Simon's Piano <i class="fas fa-music"></i>
</h1>
</header>
<section class="control-center row justify-content-center">
<!-- Start Button -->
<a class="start-button btn-secondary" href="#" aria-label="Start game here" id="start">Start</a>
<!-- Level tally information -->
<div class="hidden" id="tally"></div>
</section>
<!-- Piano Section -->
<section class="col col-sm10 col-md-7 col-lg-5 unclickable" id="piano-container">
<div class="key white-key" data-note="C">
<p class="unclickable">C</p>
</div>
<div class="key black-key" data-note="Db">
<p class="unclickable">Db</p>
</div>
<div class="key white-key" data-note="D">
<p class="unclickable">D</p>
</div>
<div class="key black-key" data-note="Eb">
<p class="unclickable">Eb</p>
</div>
<div class="key white-key" data-note="E">
<p class="unclickable">E</p>
</div>
<div class="key white-key" data-note="F">
<p class="unclickable">F</p>
</div>
<div class="key black-key" data-note="Gb">
<p class="unclickable">Gb</p>
</div>
<div class="key white-key" data-note="G">
<p class="unclickable">G</p>
</div>
<div class="key black-key" data-note="Ab">
<p class="unclickable">Ab</p>
</div>
<div class="key white-key" data-note="A">
<p class="unclickable">A</p>
</div>
<div class="key black-key" data-note="Bb">
<p class="unclickable">Bb</p>
</div>
<div class="key white-key" data-note="B">
<p class="unclickable">B</p>
</div>
</section>
<!-- Instruction of keyboard keys to use -->
<section class="row justify-content-center">
<div class="hidden" id="key-instructions"></div>
</section>
</main>
<footer>
<!-- Color Theme Toggle -->
<div id="color-theme">
Dark Mode<i class="fas fa-adjust"></i>
</div>
<!-- Link to my Github Profile -->
<a href="https://github.com/Yusuffrih/" target="_blank" rel="noopener" aria-label="Github profile link" id="github">
<i class="fab fa-github"></i>
</a>
</footer>
<!-- Piano key notes -->
<div class="hidden">
<audio src="assets/notes/notes_C.mp3" data-sound="C"></audio>
<audio src="assets/notes/notes_Db.mp3" data-sound="Db"></audio>
<audio src="assets/notes/notes_D.mp3" data-sound="D"></audio>
<audio src="assets/notes/notes_Eb.mp3" data-sound="Eb"></audio>
<audio src="assets/notes/notes_E.mp3" data-sound="E"></audio>
<audio src="assets/notes/notes_F.mp3" data-sound="F"></audio>
<audio src="assets/notes/notes_Gb.mp3" data-sound="Gb"></audio>
<audio src="assets/notes/notes_G.mp3" data-sound="G"></audio>
<audio src="assets/notes/notes_Ab.mp3" data-sound="Ab"></audio>
<audio src="assets/notes/notes_A.mp3" data-sound="A"></audio>
<audio src="assets/notes/notes_Bb.mp3" data-sound="Bb"></audio>
<audio src="assets/notes/notes_B.mp3" data-sound="B"></audio>
</div>
<!-- JQuery Script - Bootstrap Dependency -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.slim.min.js"></script>
<!-- Popper Script - Bootstrap Dependency -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js"></script>
<!-- Bootstrap -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.6.0/js/bootstrap.min.js"></script>
<!-- Local Javascript -->
<script src="assets/js/script.js"></script>
</body>
</html>