Guest User

Untitled

a guest
Apr 20th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. <!Doctype HTML>
  2. <!-- Carlice -->
  3.  
  4. <html>
  5. <head>
  6. <style type="text/css">
  7.  
  8. body {background-image:url('wallpaper.jpg');}
  9.  
  10. h1{font-family:calibri;border-style:solid;border-width:5px;border-style:groove;background-color:black;color:darkviolet;}
  11.  
  12. span {font-family:calibri;font-size:16 px;color:gold;border-style:outset;background-color:black; }
  13.  
  14. span:active {border-style:inset; color:black; background-color:gold;}
  15.  
  16. div#end {display:none;}
  17. </style>
  18.  
  19. <script type="text/javascript">
  20.  
  21. function changeFighting()
  22.  
  23. {document.getElementById("fighting").style.backgroundColor='gold';
  24.  
  25. document.getElementById("fighting").style.color='black';
  26.  
  27. document.getElementById("fighting").style.borderStyle='inset';
  28.  
  29. }
  30. </script>
  31. </head>
  32. <body>
  33. <h1> Survey: Favorite Games </h1>
  34.  
  35. <div>
  36. <span id = "fighting"> Fighting </span> </br> </br>
  37. <span id = "choice" onclick = "changeFighting();"> Marvel Vs. Capcom </span> &nbsp; &nbsp;
  38. <span id = "choice" > King of Fighters </span> &nbsp; &nbsp;
  39. <span id = "choice"> Street Fighter </span> &nbsp; &nbsp;
  40. <span id = "choice"> Darkstalkers </span> </br> </br>
  41.  
  42. <span id = "fps"> First Person Shooter </span> </br> </br>
  43. <span id = "choice"> Call of Duty </span> &nbsp; &nbsp;
  44. <span id = "choice"> Halo </span> &nbsp; &nbsp;
  45. <span id = "choice"> Battlefield </span> &nbsp; &nbsp;
  46. <span id = "choice"> Metroid Prime </span> </br> </br>
  47.  
  48. <span id = "AAS"> Adventure/Action Adventure </span> </br> </br>
  49. <span id = "choice"> Devil May Cry </span> &nbsp; &nbsp;
  50. <span id = "choice"> Resident Evil </span> &nbsp; &nbsp;
  51. <span id = "choice"> Splinter Cell </span> &nbsp; &nbsp;
  52. <span id = "choice"> Phoenix Wright: Ace Attorney </span> </br> </br>
  53.  
  54. <span id = "ss"> Side Scrolling </span> </br> </br>
  55. <span id = "choice"> Mario </span> &nbsp; &nbsp;
  56. <span id = "choice"> Sonic </span> &nbsp; &nbsp;
  57. <span id = "choice"> Metroid </span> &nbsp; &nbsp;
  58. <span id = "choice"> Megaman </span> </br> </br>
  59. </div>
  60. <span id = "show"> Show results </span> </br> </br>
  61.  
  62. <div id ="end">
  63. <span id = "results"> Results </span> &nbsp; &nbsp;
  64. <span id = "fightingresult"> Fighting: None </span> &nbsp; &nbsp;
  65. <span id = "fpsresult"> First Person Shooter: None </span> &nbsp; &nbsp;
  66. <span id = "ssresult"> Side Scrolling: None </span> &nbsp; &nbsp;
  67. <span id = "aaresult"> Adventure/Action Adventure: None </span>
  68. </div>
  69.  
  70. </body>
  71. </html>
Add Comment
Please, Sign In to add comment