Guest User

Untitled

a guest
Jun 11th, 2018
320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.73 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Oleo+Script">
  3. <link href="https://fonts.googleapis.com/css?family=Italiana" rel="stylesheet">
  4. <metaname="viewport" content="width=device-width">
  5.  
  6.  
  7. <link rel="stylesheet"
  8. href="https://fonts.googleapis.com/css?family=Indie+Flower">
  9. <link href="https://fonts.googleapis.com/css?family=Luckiest+Guy" rel="stylesheet">
  10. <style>
  11. html {
  12. background: linear-gradient(to bottom, #cfcdf5,#b4c1f6,#9bc2f7,#82d1f8, #69ebf9);;;
  13. }
  14.  
  15. body {
  16. color: white;
  17. font: normal 30px 'Indie Flower', cursive;
  18. }
  19.  
  20. img {
  21. border: ridge;
  22. border-radius: 15px;
  23. }
  24.  
  25. a href {
  26. color:#6461A0;
  27. text-decoration: none;
  28. }
  29.  
  30. a:hover {
  31. color: #EFBDEB;
  32. text-decoration: underline;
  33. }
  34.  
  35. a:visited {
  36. color: #4B0082;
  37. }
  38.  
  39. h1, h2, h3 {
  40. font-family: 'Luckiest Guy', serif;
  41. text-shadow: 4px 4px 4px #aaa;
  42. }
  43.  
  44. .topnav {
  45. background-color: #9bc2f7;
  46. overflow: hidden;
  47. }
  48. </style>
  49. <center>
  50. <h1>
  51. HOW MUCH POP CULTURE DO YOU REALLY KNOW?
  52. </h1>
  53. <div class="topnav">
  54. <a href= "https://www.homedepot.com/"> Home</a>
  55. <a href= "https://www.theonion.com/"> News</a>
  56. <a href="https://en.wikipedia.org/wiki/Contact_(1997_American_film)">Contact</a>
  57. <a href="https://en.wikipedia.org/wiki/Popular_culture">About</a>
  58. </div>
  59. </center>
  60. <center><h3>
  61. TAKE THE QUIZ
  62. </h3></center>
  63. <p>http://codeactually.com/interactivequiz.html <br>
  64.  
  65. <div id="main">
  66. <div id="header">
  67. </div>
  68. <form id="form1">
  69. <fieldset>
  70.  
  71. <!-- QUESTION 1 -->
  72. <h3>Who is the oldest of the Kardashian sisters?</h3>
  73. <label for="one_string"><input type="radio" name="one" value="0" id="one_string" />Khloe</label>
  74. <label for="one_join"><input type="radio" name="one" value="5" id="one_join" />Kourtney</label>
  75. <label for="one_info"><input type="radio" name="one" value="0" id="one_info" />Kim</label>
  76. <label for="one_condition"><input type="radio" name="one" value="0" id="one_condition"/>North West</label>
  77.  
  78. <!-- QUESTION 2 -->
  79. <h3>Which married celebrity couple separated in September, 2016?</h3>
  80. <label for="two_string"><input type="radio" name="two" value="5" id="two_string"/>Brad Pitt and Angelina Jolie</label>
  81. <label for="two_join"><input type="radio" name="two" value="0" id="two_join"/>Beyonce and Jay Z</label>
  82. <label for="two_info"><input type="radio" name="two" value="0" id="two_info" />Zayn and Gigi Hadid</label>
  83. <label for="two_condition"><input type="radio" name="two" value="0" id="two_condition" />Justin Bieber and Selena Gomez</label>
  84.  
  85. <!-- QUESTION 3 -->
  86. <h3> Who topped the Billboard charts with the single "Love Yourself" in February, 2016? </h3>
  87. <label for="three_string"><input type="radio" name="three" value="0" id="three_string" />Shawn Mendes</label>
  88. <label for="three_join"><input type="radio" name="three" value="0" id="three_join" />Jacob Sartorius</label>
  89. <label for="three_info"><input type="radio" name="three" value="0" id="three_info" />Harry Styles</label>
  90. <label for="three_condition"><input type="radio" name="three" value="5" id="three_condition" /> Justin Bieber</label>
  91.  
  92. <!-- QUESTION 4 -->
  93. <h3>Which song topped the Billboard charts for 14 consecutive weeks in 2015?</h3>
  94. <label for="four_string"><input type="radio" name="four" value="5" id="four_string" />Uptown Funk by Mark Ronson featuring Bruno Mars</label>
  95. <label for="four_join"><input type="radio" name="four" value="0" id="four_join" />Hotline Bling by Drake</label>
  96. <label for="four_info"><input type="radio" name="four" value="0" id="four_info" />Hello by Adele </label>
  97. <label for="four_condition"><input type="radio" name="four" value="0" id="four_condition" />That’s what I like by Bruno Mars</label>
  98.  
  99. <!-- QUESTION 5 -->
  100. <h3>"Which member of the boy band One Direction left the band in March, 2015?"</h3>
  101. <label for="five_string"><input type="radio" name="five" value="5" id="five_string" />Zayn Malik</label>
  102. <label for="five_join"><input type="radio" name="five" value="0" id="five_join" />Niall Horan</label>
  103. <label for="five_info"><input type="radio" name="five" value="0" id="five_info" />Harry Styles</label>
  104. <label for="five_condition"><input type="radio" name="five" value="0" id="five_condition"/>One of the other guys</label>
  105.  
  106. <!-- QUESTION 6 -->
  107. <h3>Chris Hemsworth plays this superhero?</h3>
  108. <label for="six_string"><input type="radio" name="six" value="0" id="six_string"/>Green Lantern</label>
  109. <label for="six_join"><input type="radio" name="six" value="0" id="six_join"/>The Hulk</label>
  110. <label for="six_info"><input type="radio" name="six" value="5" id="six_info" />Thor</label>
  111. <label for="six_condition"><input type="radio" name="six" value="0" id="six_condition" />Superman</label>
  112.  
  113. <!-- QUESTION 7 -->
  114. <h3>Which movie was top at the box office in 2015?</h3>
  115. <label for="seven_string"><input type="radio" name="seven" value="0" id="seven_string" />Avengers: Age of Ultron</label>
  116. <label for="seven_join"><input type="radio" name="seven" value="5" id="seven_join" />Star Wars Ep. VII: The Force Awakens</label>
  117. <label for="seven_info"><input type="radio" name="seven" value="0" id="seven_info" />Inside out</label>
  118. <label for="seven_condition"><input type="radio" name="seven" value="0" id="seven_condition" />Jurassic World</label>
  119.  
  120. <!-- QUESTION 8 -->
  121. <h3>Where was Vitameatavegamin used?</h3>
  122. <label for="eight_string"><input type="radio" name="eight" value="0" id="eight_string" />Friends</label>
  123. <label for="eight_join"><input type="radio" name="eight" value="0" id="eight_join" />Saved by the bell</label>
  124. <label for="eight_info"><input type="radio" name="eight" value="5" id="eight_info" />I Love Lucy</label>
  125. <label for="eight_condition"><input type="radio" name="eight" value="0" id="eight_condition" />That 70’s show</label>
  126.  
  127. <!-- QUESTION 9 -->
  128. <h3>What movie did leonardo dicaprio get a oscar for?</h3>
  129. <label for="nine_string"><input type="radio" name="nine" value="0" id="nine_string"/>Titanic</label>
  130. <label for="nine_join"><input type="radio" name="nine" value="5" id="nine_join" />The Revenant</label>
  131. <label for="nine_info"><input type="radio" name="nine" value="0" id="nine_info" />The Great Gatsby</label>
  132. <label for="nine_condition"><input type="radio" name="nine" value="0" id="nine_condition"/>Romeo and Juliet</label>
  133.  
  134. <!-- QUESTION 10 -->
  135. <h3>How many Kardashian and Jenners are there?</h3>
  136. <label for="ten_string"><input type="radio" name="ten" value="5" id="ten_string"/>17</label>
  137. <label for="ten_join"><input type="radio" name="ten" value="0" id="ten_join"/>21</label>
  138. <label for="ten_info"><input type="radio" name="ten" value="0" id="ten_info" />32</label>
  139. <label for="ten_condition"><input type="radio" name="ten" value="0" id="ten_condition" />20</label>
  140.  
  141. <!-- QUESTION 11 -->
  142. <h3>What does “yeet” mean (originally)?</h3>
  143. <label for="eleven_string"><input type="radio" name="eleven" value="5" id="eleven_string" />A quick whip of motion of throwing or pulling something forcefully </label>
  144. <label for="eleven_join"><input type="radio" name="eleven" value="0" id="eleven_join" />Can be said to show enthusiasm or excitement</label>
  145. <label for="eleven_info"><input type="radio" name="eleven" value="0" id="eleven_info" />Another word to describe an exciting event such as “shocked”</label>
  146. <label for="eleven_condition"><input type="radio" name="eleven" value="0" id="eleven_condition" />A sarcastic way to say “yes” or “of course"</label>
  147.  
  148. <!-- QUESTION 12 -->
  149. <h3>What is the current number on the most liked instagram picture?</h3>
  150. <label for="twelve_string"><input type="radio" name="twelve" value="0" id="twelve_string" />17 mil</label>
  151. <label for="twelve_join"><input type="radio" name="twelve" value="0" id="twelve_join" />90 mil</label>
  152. <label for="twelve_info"><input type="radio" name="twelve" value="0" id="twelve_info" />20 mil</label>
  153. <label for="twelve_condition"><input type="radio" name="twelve" value="5" id="twelve_condition" />18 mil</label>
  154.  
  155.  
  156. <!-- QUESTION 13 -->
  157. <h3>How many times was the most retweeted post tweeted?</h3>
  158. <label for="thirteen_string"><input type="radio" name="thirteen" value="0" id="thirteen_string" />1,143</label>
  159. <label for="thirteen_join"><input type="radio" name="thirteen" value="0" id="thirteen_join" />2,654</label>
  160. <label for="thirteen_info"><input type="radio" name="thirteen" value="5" id="thirteen_info" />3,638</label>
  161. <label for="thirteen_condition"><input type="radio" name="thirteen" value="0" id="thirteen_condition" />4,702</label>
  162.  
  163. <!-- QUESTION 14 -->
  164. <h3> Who was involved in the infamous Flashback Mary Scandal?</h3>
  165. <label for="fourteen_string"><input type="radio" name="fourteen" value="0" id="fourteen_string" />Manny Mua</label>
  166. <label for="fourteen_join"><input type="radio" name="fourteen" value="5" id="fourteen_join" />James Charles</label>
  167. <label for="fourteen_info"><input type="radio" name="fourteen" value="0" id="fourteen_info" />Jeffree Star</label>
  168. <label for="fourteen_condition"><input type="radio" name="fourteen" value="0" id="fourteen_condition" />Gabriel Zamora</label>
  169.  
  170. <!-- QUESTION 15 -->
  171. <h3>Which of these people has taylor swift dated?</h3>
  172. <label for="fifteen_string"><input type="radio" name="fifteen" value="0" id="fifteen_string" />Harry Styles</label>
  173. <label for="fifteen_join"><input type="radio" name="fifteen" value="0" id="fifteen_join" />Joe Jonas</label>
  174. <label for="fifteen_info"><input type="radio" name="fifteen" value="0" id="fifteen_info" />Jake Gyllenhaal</label>
  175. <label for="fifteen_condition"><input type="radio" name="fifteen" value="5" id="fifteen_condition" />All of the Above</label>
  176.  
  177. <!-- QUESTION 16 -->
  178. <h3>Finish this song: “Smelly cat, smelly cat...”</h3>
  179. <label for="sixteen_string"><input type="radio" name="sixteen" value="0" id="sixteen_string" />“Why aren't they feeding youuuuu…?”</label>
  180. <label for="sixteen_join"><input type="radio" name="sixteen" value="5" id="sixteen_join" />“What are they feeding youuuuu…?</label>
  181. <label for="sixteen_info"><input type="radio" name="sixteen" value="0" id="sixteen_info" />“Who are youuuuu…?”</label>
  182. <label for="sixteen_condition"><input type="radio" name="sixteen" value="0" id="sixteen_condition" />“What are youuuu…?”</label>
  183.  
  184. <!-- QUESTION 17 -->
  185. <h3>In what movie is the quote “AS IF” from?</h3>
  186. <label for="seventeen_string"><input type="radio" name="seventeen" value="0" id="seventeen_string" />Mean Girls</label>
  187. <label for="seventeen_join"><input type="radio" name="seventeen" value="0" id="seventeen_join" />10 Things I hate about you</label>
  188. <label for="seventeen_info"><input type="radio" name="seventeen" value="0" id="seventeen_info" />Clueless</label>
  189. <label for="seventeen_condition"><input type="radio" name="seventeen" value="5" id="seventeen_condition" />One of the HSM movies</label>
  190.  
  191. <!-- QUESTION 18 -->
  192. <h3>How many seasons are the simpsons are there?</h3>
  193. <label for="eighteen_string"><input type="radio" name="eighteen" value="0" id="eighteen_string" />32</label>
  194. <label for="eighteen_join"><input type="radio" name="eighteen" value="0" id="eighteen_join" />20</label>
  195. <label for="eighteen_info"><input type="radio" name="eighteen" value="5" id="eighteen_info" />29</label>
  196. <label for="eighteen_condition"><input type="radio" name="eighteen" value="0" id="eighteen_condition" />30</label>
  197.  
  198. <!-- QUESTION 19 -->
  199. <h3>What is the slang definition for “Wig”?</h3>
  200. <label for="nineteen_string"><input type="radio" name="nineteen" value="5" id="nineteen_string" />Another way of describing that you're surprised or “shook"</label>
  201. <label for="nineteen_join"><input type="radio" name="nineteen" value="0" id="nineteen_join" />A way of saying something is awesome</label>
  202. <label for="nineteen_info"><input type="radio" name="nineteen" value="0" id="nineteen_info"/>Another word for gross</label>
  203. <label for="nineteen_condition"><input type="radio" name="nineteen" value="0" id="nineteen_condition" />Something you say as a code word for “uncomfortable”
  204.  
  205. <!-- QUESTION 20 -->
  206. <h3>How do you think you did on this test?</h3>
  207. <label for="twenty_string"><input type="radio" name="twenty" value="5" id="twenty_string" />YEET</label>
  208. <label for="twenty_join"><input type="radio" name="twenty" value="5" id="twenty_join" /> SHOOK </label>
  209. <label for="twenty_info"><input type="radio" name="twenty" value="5" id="twenty_info" />OMG WIG</label>
  210. <label for="twenty_condition"><input type="radio" name="twenty" value="5" id="twenty_condition" />eh...</label>
  211.  
  212.  
  213. <br>
  214. <br><center>
  215. <button type="submit" value="Submit">Submit</button>
  216. </fieldset>
  217. </form>
  218. <p>Your grade is: <span id="grade">__</span></p>
  219. <p id="grade2"></p>
  220.  
  221.  
  222. <script>
  223. document.getElementById("form1").onsubmit=function() {
  224. one = parseInt(document.querySelector('input[name = "one"]:checked').value);
  225. two = parseInt(document.querySelector('input[name = "two"]:checked').value);
  226. three = parseInt(document.querySelector('input[name = "three"]:checked').value);
  227. four = parseInt(document.querySelector('input[name = "four"]:checked').value);
  228. five = parseInt(document.querySelector('input[name = "five"]:checked').value);
  229. six = parseInt(document.querySelector('input[name = "six"]:checked').value);
  230. seven = parseInt(document.querySelector('input[name = "seven"]:checked').value);
  231. eight = parseInt(document.querySelector('input[name = "eight"]:checked').value);
  232. nine = parseInt(document.querySelector('input[name = "nine"]:checked').value);
  233. ten = parseInt(document.querySelector('input[name = "ten"]:checked').value);
  234. eleven = parseInt(document.querySelector('input[name = "eleven"]:checked').value);
  235. twelve = parseInt(document.querySelector('input[name = "twelve"]:checked').value);
  236. thirteen = parseInt(document.querySelector('input[name = "thirteen"]:checked').value);
  237. fourteen = parseInt(document.querySelector('input[name = "fourteen"]:checked').value);
  238. fifteen = parseInt(document.querySelector('input[name = "fifteen"]:checked').value);
  239. sixteen = parseInt(document.querySelector('input[name = "sixteen"]:checked').value);
  240. seventeen = parseInt(document.querySelector('input[name = "seventeen"]:checked').value);
  241. eighteen = parseInt(document.querySelector('input[name = "eighteen"]:checked').value);
  242. nineteen = parseInt(document.querySelector('input[name = "nineteen"]:checked').value);
  243. twenty = parseInt(document.querySelector('input[name = "twenty"]:checked').value);
  244.  
  245. result = one + two + three + four + five + six + seven + eight + nine + ten + eleven + twelve + thirteen + fourteen + fifteen + sixteen + seventeen + eighteen + nineteen + twenty;
  246.  
  247.  
  248. document.getElementById("grade").innerHTML = result;
  249.  
  250.  
  251. if (result == 0) {result2 = "I don't think you studied."};
  252. if (result == 5) {result2 = "You need to spend more time. Try again."};
  253. if (result == 10) {result2 = "You need to spend more time. Try again."};
  254. if (result == 15) {result2 = "You need to spend more time. Try again."};
  255. if (result == 20) {result2 = "You need to spend more time. Try again."};
  256. if (result == 25) {result2 = "You need to spend more time. Try again."};
  257. if (result == 30) {result2 = "I think you could do better. Try again."};
  258. if (result == 35) {result2 = "I think you could do better. Try again."};
  259. if (result == 40) {result2 = "I think you could do better. Try again."};
  260. if (result == 45) {result2 = "I think you could do better. Try again."};
  261. if (result == 50) {result2 = "I think you could do better. Try again."};
  262. if (result == 55) {result2 = "I think you could do better. Try again."};
  263. if (result == 60) {result2 = "I think you could do better. Try again."};
  264. if (result == 65) {result2 = "I think you could do better. Try again."};
  265. if (result == 70) {result2 = "I think you could do better. Try again."};
  266. if (result == 75) {result2 = "So close. Try again."};
  267. if (result == 80) {result2 = "So close. Try again."};
  268. if (result == 85) {result2 = "So close. Try again."};
  269. if (result == 90) {result2 = "Excellent!"};
  270. if (result == 95) {result2 = "Excellent!"};
  271. if (result == 100) {result2 = "Excellent!"};
  272. document.getElementById("grade2").innerHTML = result2;
  273.  
  274. </script>
Advertisement
Add Comment
Please, Sign In to add comment