-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (55 loc) · 2.3 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Trivia Game">
<title>Trivia Game - Star Wars</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Orbitron" rel="stylesheet">
<link rel="stylesheet" href="assets/css/style.css" type="text/css">
<script
src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"></script>
</head>
<body>
<div>
<div class="headerSection text-center text">
Star Wars VII Quiz
<p>Here is a quiz for The Force Awakens before The Last Jedi comes out!</p>
</div>
<div class ="flex2" id="questionArea">
<div class="flexbox2-1">
<img class=star-wars-picture src="./assets/images/star-wars-header.jpg">
</div>
<div class="flexbox2-2">
<h1>Trivia Game!:</br> <span id="gold">STAR WARS VII</span></h1>
<p id="btnWrapper"><button class="text-center btn btn-default" id="begin">Begin!</button></p>
<div id="gameStart">
<p class="timeRemaining">Time Remaining: <span id="time">30</span></p>
<p class="questions"></p>
<button class="answers" id= "answer1"></p>
<button class="answers" id= "answer2"></button>
<button class="answers" id= "answer3"></button>
<button class="answers" id= "answer4"></button>
</div>
<div id="divAnswers">
<p class="timeRemaining">Time Remaining: <span id="elapsedTime"></span></p>
<p id="wrongMsg">You picked a wrong answer!</p>
<p id="correctMsg">That is right!</p>
<p id="outOfTime">Time Up!</p>
<p id="pCorrectAnswer">The correct answer is: <span></span></p>
<p id="pic"></p>
</div>
<div id="gameComplete">
<p>Game over! Here's your score:</p>
<p id="gameOverCorrect">Correct Answers: <span></span></p>
<p id="gameOverIncorrect">Incorrect Answers: <span></span></p>
<p id="unanswered">Unanswered Questions: <span></span></p>
<div id="restartPlaceholder"><button class="text-center btn btn-default">Restart?</button></div>
</div>
</div>
<script type="text/javascript" src="assets/javascript/app.js"></script>
</body>
</html>