-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
152 lines (136 loc) · 6.74 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE html>
<html lang="en">
<head id="header">
<link rel="icon" href="https://i.imgur.com/s3NJr4j.png">
<!-- Connects base.css to base.html -->
<link href="./styles.css" rel="stylesheet" />
</head>
<div id="home-page">
<body id="body">
<center>
<div id="title-text">
<!-- Site header! -->
<h1 id="page-title">chord progression generator 3000</h1>
</div>
<div id="everything-else">
<!-- Site description! -->
<div id="description">
<p class="text" id="first-line">Musically ambitious but creatively lacking?</p>
<p class="text" id="second-line">Then check out this cool tool that we made for you!</p>
<p class="text" id="third-line">With just a few clicks, our code’ll get cracking</p>
<p class="text" id="fourth-line">And you’ll find that you can make great music, too! 😎👍</p>
</div>
<!-- Dropdown form for key and chord progression. -->
<form id="the-form" class="form" method="post">
<select id="key" type="key-signature" name="key" required="true">
<option value="" id="form-titles">choose a key: </option>
<option value="key-of-c">C</option>
<option value="key-of-c#/db">C♯/D♭</option>
<option value="key-of-d">D</option>
<option value="key-of-d#/eb">D♯/E♭</option>
<option value="key-of-e">E</option>
<option value="key-of-f">F</option>
<option value="key-of-f#/gb">F♯/G♭</option>
<option value="key-of-g">G</option>
<option value="key-of-g#/ab">G♯/A♭</option>
<option value="key-of-a">A</option>
<option value="key-of-a#/bb">A♯/B♭</option>
<option value="key-of-b">B</option>
</select>
<select id="chords" type="chords" name="chords" required="true">
<option value="" id="form-titles">choose a viiiiiiibe: </option>
<optgroup label="Moods">
<option value="basic">Basic</option> <!-- I, V, vi, I, -->
<option value="bittersweet">Bittersweet</option> <!-- I, IV, iv, I -->
<option value="hopeful">Hopeful</option> <!-- vi, IV, I, V -->
<option value="happy">Happy</option> <!-- I, IV, V, V -->
</optgroup>
<optgroup label="Artists(!!!)">
<option value="warmstop">Coldplay</option> <!-- I, vi, IV, iv -->
<option value="tay-tay">Taylor Swift</option> <!-- I, vi, IV, V -->
<option value="satellite-foot">Radiohead</option> <!-- I, vi, IV, V -->
<option value="idk-my-name">Grace Vanderwaal</option> <!-- I, IV, vi, VII -->
<option value="iconic">Troye Sivan</option> <!-- V, iii, vi, II -->
</optgroup>
</select>
<br><br>
<div id="generate-box">
<input id="generate" type="submit" value="GENERATE YOUR NEXT BIG HIT"/>
</div>
</div>
</form>
</div>
</div>
</center>
<div id="result">
<h1 id="the-progression">
Yo.
</h1>
<div class="interactive" id="buttons_here">
<center>
<button class="start_button" id="play-chords" >play</button>
<button class="start_button" id="refresh" >back</button>
</center>
</div>
</div>
<div class="piano">
<button class="A_chord-key"></button>
<button class="Am_chord-key"></button>
<button class="Ab_chord-key"></button>
<button class="Abm_chord-key"></button>
<button class="B_chord-key"></button>
<button class="Bm_chord-key"></button>
<button class="Bb_chord-key"></button>
<button class="Bbm_chord-key"></button>
<button class="C_chord-key"></button>
<button class="Cm_chord-key"></button>
<button class="Cb_chord-key"></button>
<button class="Cbm_chord-key"></button>
<button class="D_chord-key"></button>
<button class="Dm_chord-key"></button>
<button class="Db_chord-key"></button>
<button class="Dbm_chord-key"></button>
<button class="E_chord-key"></button>
<button class="Em_chord-key"></button>
<button class="Eb_chord-key"></button>
<button class="Ebm_chord-key"></button>
<button class="F_chord-key"></button>
<button class="Fm_chord-key"></button>
<button class="Fb_chord-key"></button>
<button class="Fbm_chord-key"></button>
<button class="G_chord-key"></button>
<button class="Gm_chord-key"></button>
<button class="Gb_chord-key"></button>
<button class="Gbm_chord-key"></button>
</div>
<!-- <div class="flex-container">
<a href="https://codebase.berkeley.edu">Press here to go to Codebase Website</a>
<img class="image" src="https://codebase.berkeley.edu/static/238f7857e162c32b372ec34e5e68b6ff/8dcbd/cb-logo-black.png">
<img class="image" src="https://larynqi.com/assets/img/denero-crop-2.PNG">
<iframe id="iframe" src="https://larynqi.com" title="description"></iframe>
<iframe width="560" height="315" src="https://www.youtube.com/embed/dQw4w9WgXcQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
<div class="interactive">
<center>
<button class="button" onclick="alert('this is the inline js way – dont do this way !!! 😡');">Press</button>
<button class="button" id="my-id" onclick="myFunction()">Press me 2</button>
</center>
</div>
<center>
<form class="form" onsubmit="submit();">
<label>Username:</label>
<input id="username" type="text" name="username" placeholder="xXlarynisawesomeXx">
<br><br>
<label>E-mail:</label>
<input id="email" type="email" name="emailaddress" required="true">
<br><br>
<label>Password:</label>
<input id="password" type="password" name="password">
<br><br>
<input type="submit" value="Submit"/>
</form>
</center>
</body> -->
<!-- Connects base.js to base.html -->
<script src="script.js"></script>
</html>