-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
238 lines (198 loc) · 8.05 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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
<!doctype html>
<html>
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/css/bootstrap.min.css" integrity="sha384-Smlep5jCw/wG7hdkwQ/Z5nLIefveQRIY9nfy6xoR1uRYBtpZgI6339F5dgvm/e9B" crossorigin="anonymous">
<!--<link href="https://fonts.googleapis.com/css?family=Gaegu" rel="stylesheet">-->
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h2 class="text-center" >RAW </h2>
<h3 class="text-center" >fashion + beauty</h3>
<nav class="navbar navbar-expand-lg navbar-light">
<a class="navbar-brand" href="#">Menu</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="home.html">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="fashion.html">Fashion</a>
</li>
<li class="nav-item">
<a class="nav-link" href="beauty.html">Beauty</a>
</li>
<li class="nav-item">
<a class="nav-link" href="articles.html">Articles</a>
</li>
<li class="nav-item">
<a class="nav-link" href="index.html">
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="aboutus.html">About Us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="contact.html">Contact</a>
</li>
<li class="nav-item">
<a class="nav-link" href="subscribe.html">Subscribe</a>
</li>
</ul>
</div>
</nav>
<style>
.parallax {
/* The image used */
background-image: url(https://78.media.tumblr.com/4c1fabcceddd2cb8b0c5476ee0ac00c0/tumblr_oirlu8wQ401uzg6sbo1_500.gif);
/* Set a specific height */
height: 700px;
/* Create the parallax scrolling effect */
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
</style>
<!-- Container element -->
<div class="parallax"></div>
<!-- Cards 123-->
<div class="card-columns">
<div class="card">
<img class="card-img-top" src="https://78.media.tumblr.com/6a74abed9dcb572739069267b8b17c9e/tumblr_p4u06dQ5hU1qgaiiro1_500.jpg">
</div>
<div class="card">
<img class="card-img-top" src="https://78.media.tumblr.com/3970a03016c0671e98c1877a16c468c2/tumblr_p5577nNSGK1qe7g6lo1_500.jpg">
</div>
<div class="card text-center">
<div class="card">
<img class="card-img" src="https://78.media.tumblr.com/d743970327bef0ddad5f8608f89230c0/tumblr_nk2ralpAga1sfo2lfo1_540.jpg">
</div>
</div>
</div>
<head>
<script>
function quiz(){
var score = 0;
// to get another question's value, change the name=
const q1 = document.querySelector("[name=Q1]:checked").value;
if (q1=="yes"){
score = score + 2;
}
const q2 = document.querySelector("[name=Q2]:checked").value;
if (q2=="85%"){
score = score +2;
}
const q3 = document.querySelector("[name=Q3]:checked").value;
if (q3=="50%"){
score = score +2
}
const q4 = document.querySelector("[name=Q4]:checked").value;
if (q4=="animals are distressed, agitated, and often die"){
score = score +2
}
const q5 = document.querySelector("[name=Q5]:checked").value;
if (q5=="650,000"){
score = score +2
}
if (score==10){
alert("Congratulations, you got everything correct!")
}
else if (score==8){
alert("You got one question wrong! Go check our website to brush up on some facts.")
}
else if (score==6){
alert("You got two questions wrong! Go check our website to brush up on some facts.")
}
else if (score==4){
alert("You got three questions wrong! Go check our website to brush up on some facts.")
}
else if (score==2){
alert("You got FOUR questions wrong! Go check our website to brush up on some facts.")
}
else{
alert("You got all the questions wrong :( GO TO OUR WEBSITE IMMEDIATLY!)")
}
return false;
}
</script>
</head>
<h2 class="text-center">How Educated Are You On Anti Animal Cruelty?</h2>
<div align="center" class = "quiz_box">
<h1 class = "big"> This quiz will determine the extent of your knowledge of animal cruelty in cosmetics and fashion </h1>
<br>
<form onsubmit="return quiz()">
<h1 id = “question1”> 1. Have you ever heard of animal cruelty and it's effects?: </h1>
<label><input type = "radio" name = "Q1" value = "yes">yes</label>
<label><input type = "radio" name = "Q1" value = "no">no</label>
<label><input type = "radio" name = "Q1" value = "maybe">maybe</label>
<br>
<h1 id = “question2”> 2. What percentage of clothing brands do you think use real fur?: </h1>
<label><input type = "radio" name = "Q2" value = "95%">95%</label>
<label><input type = "radio" name = "Q2" value = "85%">85%</label>
<label><input type = "radio" name = "Q2" value = "20%">20%</label>
<br>
<h1 id = “question3”> 3. What percentage of makeup companies do you think test on animals?: </h1>
<label><input type = "radio" name = "Q3" value = "90%">90%</label>
<label><input type = "radio" name = "Q3" value = "50%">50%</label>
<label><input type = "radio" name = "Q3" value = "35%">35%</label>
<br>
<h1 id = “question4”> 4. What are one of the harmful effects of animal testing?: </h1>
<label><input type = "radio" name = "Q4" value = "animals are distressed, agitated, and often die">animals are distressed, agitated, and often die</label>
<label><input type = "radio" name = "Q4" value = "only a few non-harmful effects">only a few non-harmful effects</label>
<label><input type = "radio" name = "Q4" value = "none">none</label>
<br>
<h1 id = “question5”> 5. How many animals are killed annually for the purpose of retail?: </h1>
<label><input type = "radio" name = "Q5" value = "35 million">35 million</label>
<label><input type = "radio" name = "Q5" value = "10 million">10 million</label>
<label><input type = "radio" name = "Q5" value = "650,000">650,000</label>
<br>
<input type="submit" value="Submit">
</form>
<br>
</div>
<!-- Cards 456-->
<div class="card-columns">
<div class="card">
<img class="card-img-top" src="https://78.media.tumblr.com/76bb8dc48932225df5219462964f2456/tumblr_p5anp1xJnh1r4r7ugo1_540.jpg" >
</div>
<div class="card">
<img class="card-img-top" src="https://78.media.tumblr.com/4e952af796cde154f061021a483d52f4/tumblr_mmo7me3vl91qcz66co1_500.gif">
</div>
<div class="card text-center">
<div class="card">
<img class="card-img" src="https://78.media.tumblr.com/3dca6f4fb2d6b73d3d10af9dfa581ae4/tumblr_n6p2nddgwa1qeenqgo1_r1_540.jpg">
</div>
</div>
</div>
<img src="">
<img src="">
<img src="">
<img src="">
<img src="">
<style>
.parallax {
/* The image used */
background-image: url(https://78.media.tumblr.com/4c1fabcceddd2cb8b0c5476ee0ac00c0/tumblr_oirlu8wQ401uzg6sbo1_500.gif);
/* Set a specific height */
height: 500px;
/* Create the parallax scrolling effect */
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
</style>
<!-- Container element -->
<div class="parallax"></div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/js/bootstrap.min.js" integrity="sha384-o+RDsa0aLu++PJvFqy8fFScvbHFLtbvScb8AjopnFD+iEQ7wo/CG0xlczd+2O/em" crossorigin="anonymous"></script>
</body>
</html>