-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
195 lines (194 loc) · 12 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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.12/css/all.css" integrity="sha384-G0fIWCsCzJIMAVNQPfjH08cyYaUtMwjJwqiRKxxE/rx96Uroj1BtIQ6MLJuheaO9"
crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.1/animate.min.css">
<link href="https://fonts.googleapis.com/css?family=Berkshire+Swash|Roboto:400,500" rel="stylesheet">
<link rel="stylesheet" href="styles/styles.css">
<link rel="icon" type="image/png" href="assets/favicon.png">
<title>Your New Favourite Band</title>
</head>
<body>
<!-- HEADER SECTION STARTS -->
<header>
<h1>Your New Favourite Band</h1>
<h2>meet your new beat</h2>
</header>
<!-- HEADER SECTION ENDS -->
<!-- MAIN SECTION STARTS -->
<main class="quiz">
<div class="wrapper">
<!-- FORM STARTS -->
<form action="">
<!-- Quiz Question 1 -->
<fieldset class="question1">
<p>What's your current mood?</p>
<div class="answers moodAnswers">
<div class="answer1 ans">
<input type="radio" name="mood" id="chillMood" value="chill">
<label for="chillMood">Feelin' chill</label>
</div>
<div class="answer2 ans">
<input type="radio" name="mood" id="happyMood" value="happy">
<label for="happyMood">Pretty darn happy</label>
</div>
<div class="answer3 ans">
<input type="radio" name="mood" id="mehMood" value="meh">
<label for="mehMood">I don't even know</label>
</div>
<div class="answer4 ans">
<input type="radio" name="mood" id="spicyMood" value="spicy">
<label for="spicyMood">Spiced up!</label>
</div>
</div>
</fieldset>
<!-- Quiz Question 2 -->
<fieldset class="question2">
<p>Which scene appeals to you most?</p>
<div class="answers sceneAnswers">
<div class="answer1 ans">
<input type="radio" name="scene" id="spicyScene" value="spicy">
<label for="spicyScene">
<img src="assets/spicyScene1.png" alt="A black and white image of a crowd of people throwing coloured powder in the air">
</label>
</div>
<div class="answer2 ans">
<input type="radio" name="scene" id="mehScene" value="meh">
<label for="mehScene">
<img src="assets/mehScene.png" alt="A black and white image of a person walking down a dirt path in a forest with tall trees on either side and misty air">
</label>
</div>
<div class="answer3 ans">
<input type="radio" name="scene" id="happyScene" value="happy">
<label for="happyScene">
<img src="assets/happyScene1.png" alt="A black and white image of group of people's silhouettes around a fire on a beach at sunset">
</label>
</div>
<div class="answer4 ans">
<input type="radio" name="scene" id="chillScene" value="chill">
<label for="chillScene">
<img src="assets/chillScene1.png" alt="A black and white image taken from the bed of a truck of someone's feet looking out at a lake with mountains on either side">
</label>
</div>
</div>
</fieldset>
<!-- Quiz Question 3 -->
<fieldset class="question3 ans">
<p>What are your plans for tonight?</p>
<div class="answers planAnswers">
<div class="answer1 ans">
<input type="radio" name="plan" id="happyPlan" value="happy">
<label for="happyPlan">Going to see some friends and have lots of laughs.</label>
</div>
<div class="answer2 ans">
<input type="radio" name="plan" id="chillPlan" value="chill">
<label for="chillPlan">Probably just staying in and taking it easy.</label>
</div>
<div class="answer3 ans">
<input type="radio" name="plan" id="spicyPlan" value="spicy">
<label for="spicyPlan">Going out and painting the town red!</label>
</div>
<div class="answer4 ans">
<input type="radio" name="plan" id="mehPlan" value="meh">
<label for="mehPlan">Something by myself. Probably just sleep a ton.</label>
</div>
</div>
</fieldset>
<!-- Quiz Question 4 -->
<fieldset class="question4">
<p>Pick a timeless artist/band.</p>
<div class="answers timelessAnswers">
<div class="answer1 ans">
<input type="radio" name="timeless" id="happyTimeless" value="happy">
<label for="happyTimeless">The Beach Boys
<img src="assets/happyTimeless.png" alt="A black and white image of The Beach Boys posing for a promo shot" title="https://en.mediamass.net/people/the-smiths/new-album.html"></label>
</div>
<div class="answer2 ans">
<input type="radio" name="timeless" id="mehTimeless" value="meh">
<label for="mehTimeless">The Smiths
<img src="assets/mehTimeless.png" alt="A black and white image of The Smiths posing for a promo shot" title="https://en.mediamass.net/people/the-smiths/new-album.html"></label>
</div>
<div class="answer3 ans">
<input type="radio" name="timeless" id="chillTimeless" value="chill">
<label for="chillTimeless">Björk
<img src="assets/chillTimeless.png" alt="A black and white image of Bjork staring seriously at the camera in front of a background of abstract shapes" title="https://www.last.fm/music/Bj%C3%B6rk"></label>
</div>
<div class="answer4 ans">
<input type="radio" name="timeless" id="spicyTimeless" value="spicy">
<label for="spicyTimeless">The Roots
<img src="assets/spicyTimeless.png" alt="A black and white image of The Roots posing for a promo shot" title="https://pitchfork.com/artists/3599-the-roots/"></label>
</div>
</div>
</fieldset>
<!-- Quiz Question 5 -->
<fieldset class="question5">
<p>Which of these legendary shows do you wish you could have been at?</p>
<div class="answers showAnswers">
<div class="answer1 ans">
<input type="radio" name="show" id="spicyShow" value="spicy">
<label for="spicyShow">Jimi Hendrix Experience Tour, 1967
<img src="assets/spicyShow.png" alt="A black and white image of Jimi Hendrix playing the guitar passionately while on his knees at the edge of a small stage in front of onlookers" title="https://www.rollingstone.com/music/lists/the-50-greatest-concerts-of-the-last-50-years-w478854/the-jimi-hendrix-experience-worldwide-tour-w478855"></label>
</div>
<div class="answer2 ans">
<input type="radio" name="show" id="happyShow" value="happy">
<label for="happyShow"> Original Woodstock Festival, 1969
<img src="assets/happyShow.png" alt="A black and white image of half a dozen people's backs as they sit on a schoolbus roof overlooking a crowd of people on a sunny day" title="https://lyrics.songonlyrics.net/category/lyrics/t/the-beach-boys"></label>
</div>
<div class="answer3 ans">
<input type="radio" name="show" id="mehShow" value="meh">
<label for="mehShow">Johnny Cash at San Quentin, 1969
<img src="assets/mehShow.png" alt="A black and white image of Johnny Cash holding up an acoustic guitar as he plays it in front of his drummer with a sign in the background that reads 'San Quentin Welcomes'" title="https://www.pinterest.fr/iheartwesties/the-man-in-black/"></label>
</div>
<div class="answer4 ans">
<input type="radio" name="show" id="chillShow" value="chill">
<label for="chillShow">Bob Marley at the Lyceum, 1975
<img src="assets/chillShow.png" alt="A black and white close-up image of Bob Marley playing the guitar and singing into the microphone" title="https://www.mixcloud.com/midnightraverblog/bob-marley-and-the-wailers-live-75-vinyl-rip-2496-german-box-set/"></label>
</div>
</div>
</fieldset>
<!-- Submit button -->
<div class="submitContainer">
<input class="submit" type="submit" value="Show me some new tunes!">
</div>
</form>
</main>
<!-- MAIN SECTION ENDS -->
<!-- Results section -->
<section class="result" style="display:block">
<div class="resultWrapper">
<h3>Your new favourite band/artist is:</h3>
<div>
<!-- jQuery Selectors -->
<div class="image">
<img src="" alt="" class="bandResult">
</div>
<h2 class="bandName"></h2>
<p class="suggestedSong"></p>
<a class="songURL" href="" target="_blank"> listen now</a>
</div>
<input type="reset" class="resetQuiz" value="Reset Quiz">
</div>
</section>
</div>
<!-- FOOTER SECTION STARTS -->
<footer>
<div class="wrapper">
<div class="copyright">
<p>© 2018 Leah McCormick | <a href="http://leahmccormick.io">leahmccormick.io</a></p>
<ul>
<li><a href="https://twitter.com/leahmccormickio"><i class="fab fa-twitter-square"></i></a></li>
<li><a href="https://www.linkedin.com/in/leah-mccormick/"><i class="fab fa-linkedin"></i></a></li>
<li><a href="https://github.com/lmccormick3"><i class="fab fa-github-square"></i></a></li>
</ul>
</div>
</div>
</footer>
<!-- FOOTER SECTION ENDS -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.js"></script>
<script src="script.js"></script>
</body>
</html>