-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
60 lines (59 loc) · 2.33 KB
/
index.html
File metadata and controls
60 lines (59 loc) · 2.33 KB
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
<!DOCTYPE html>
<html lang="en">
<!-----------------HEAD----------------->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Questrial&display=swap" rel="stylesheet">
<title>Music Box</title>
</head>
<!-----------------BODY----------------->
<body>
<div class="main-container">
<h2>Music Box</h2>
<div class="main-wrapper">
<div class="play-arrow" id="playArrow"></div>
<div class="input-wrapper">
<div class="header-wrapper">
<p><b>Enter music notes</b></p>
<br>
<div id="notesKey">EADGFC</div>
</div>
<div class="text-wrapper">
<div class="text-bg" id="textBg"></div>
<textarea id="textBox"></textarea>
</div>
<div id="buttons">
<button id="clear-button" onclick="clear_music()">⟲ Clear Music</button>
<button id="play-button" onclick="play_notes()">▶ Play Music</button>
</div>
</div>
<div class="output-wrapper">
<div class="header-wrapper">
<p><b>Output</b></p>
<p><b>Code</b></p>
<br>
<br>
</div>
<div class="text-wrapper">
<textarea disabled id="compiledCode" rows="20" cols="40"></textarea>
</div>
</div>
</div>
</div>
<div class="watermark">Made By: Jamison Coombs</div>
<audio preload="auto">
<source src="sounds/E.wav" type="audio/wav">
<source src="sounds/A.wav" type="audio/wav">
<source src="sounds/D.wav" type="audio/wav">
<source src="sounds/G.wav" type="audio/wav">
<source src="sounds/F.wav" type="audio/wav">
<source src="sounds/C.wav" type="audio/wav">
</audio>
</body>
<!----------------SCRIPTS--------------->
<script src="script.js"></script>
</html>