-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
93 lines (71 loc) · 3.68 KB
/
index.html
File metadata and controls
93 lines (71 loc) · 3.68 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Trivia Game</title>
<!--google font link -->
<link href="https://fonts.googleapis.com/css?family=Droid+Sans" rel="stylesheet">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="./assets/css/style.css">
</head>
<body class="no-scrollbar">
<audio id="intro-music" type="audio/mpeg" preload="auto" src="./assets/audio/cinema_standards_worlds_beyond_preview.mp3"></audio>
<audio id="bonus" type="audio/wav" preload="auto" src="./assets/audio/bonus.wav"></audio>
<section id="animation">
<img id="title1" class="fixed-center-faded" alt="A long time ago, in a galaxy far, far away" src="./assets/images/longtimeago.jpg">
<img id="title2" class="fixed-center-faded" alt="STAR WARS" src="./assets/images/starwarslogo.jpg">
<h2 id="title-subtext" class="fixed-center-faded">A Trivia Game!</h2>
<h2 id="skip-intro" class="fixed-bottom always-highlight">Click Me to Skip</h2>
</section>
<div id="main-content" class="container">
<div class="row off-screen-vertical-center">
<div id="trivia-main" class="col-sm-10 col-sm-offset-1 text-center hidden">
<h1 id="trivia-title">The <strong>STAR WARS HOLIDAY SPECIAL</strong> Trivia Game!</h1>
<div id="trivia-display" class="row">
<div class="col-sm-8 col-sm-offset-2">
<div id="start" class="always-highlight"><h2>Start Game!</h2></div>
<div id="div-question" class="hidden">
<div><h3>Time Remaining: <span id="timer-display"></span> Seconds</h3></div>
<hr>
<div><h3 id="question-display">Is this a test?</h3></div>
<hr>
<div id="choices-display">
<div id="answer0" class="hover-highlight answer-select"><h2>Answer1</h2></div>
<div id="answer1" class="hover-highlight answer-select"><h2>Answer2</h2></div>
<div id="answer2" class="hover-highlight answer-select"><h2>Answer3</h2></div>
<div id="answer3" class="hover-highlight answer-select"><h2>Answer4</h2></div>
</div>
<div id="answer-display" class="hidden">
<h3 id="correct-answer"></h3>
<img id="image-display" alt="question_img" src="">
<h3 id="question-info"></h3>
</div>
</div>
<div id="div-results" class="hidden">
<h2>All Done, here's how you did</h2>
<hr>
<h3>Correct Answers: <span id="correct-answers">0</span></h3>
<h3>Incorrect Answers: <span id="incorrect-answers">0</span></h3>
<h3>Unanswerd: <span id="unanswered-answers">0</span></h3>
<hr>
<h2 id="restart" class="hover-highlight">Start over?</h2>
<h2 id="bonus-button" class="hover-highlight hidden">You have earned this!</h2>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
<script
type="text/javascript"
src="https://code.jquery.com/jquery-3.1.1.min.js"
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
crossorigin="anonymous"></script>
<script type="text/javascript" src="./assets/javascript/questions.js"></script>
<script type="text/javascript" src="./assets/javascript/intros.js"></script>
<script type="text/javascript" src="./assets/javascript/animation.js"></script>
<script type="text/javascript" src="./assets/javascript/game.js"></script>
</html>