-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
115 lines (98 loc) · 3.67 KB
/
index.html
File metadata and controls
115 lines (98 loc) · 3.67 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!--
Only test this site using live server or some kind of proxy to
get around the CORS error for modules and access control headers.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootswatch/4.4.1/sketchy/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/style.css">
<title>Harry Potter Trivia Quiz</title>
</head>
<body>
<!-- Navigator -->
<nav class="navbar navbar-expand navbar-dark bg-primary mb-4">
<!-- radio buttons for game selection -->
<div class="btn-group btn-group-toggle" data-toggle="buttons">
<label class="btn btn-primary active chng-four">
<input type="radio" class="four-min" name="options" id="option1" autocomplete="off" checked=""> 4 Minute Game
</label>
<label class="btn btn-primary chng-two">
<input type="radio" class="two-min" name="options" id="option2" autocomplete="off"> 2 Minute Game
</label>
</div>
<div class="collapse navbar-collapse justify-content-center mr-5 pr-5" id="navbarsExample08">
<ul class="navbar-nav">
<li class="nav-item"> <a class="nav-link mr">
<h3>Harry Potter Trivia Quiz</h3> <span class="sr-only">(current)</span>
</a> </li>
</ul>
</div>
</nav>
<!-- countdown timer -->
<div id="timer"></div>
<div class="container">
<div class="row">
<!-- welcome screen -->
<section class="container mt-5 text-center">
<div class="row">
<div class="col md-3">
</div>
<div class="jumbotron border border-white welcome" id="animate">
<h1>Welcome to the Harry Potter trivia quiz.</h1>
<p>Click below to begin your O.W.L.s. and face your profecy.</p>
<!-- Primary card -->
<p><a class="btn btn-primary text-white mt-5 btn-lg begin">Begin Game</a></p>
</div>
<!-- input for player name and score -->
<div class="row end-game">
<div class="col">
<div class="form-group">
<h2>Scores</h2>
<label class="col-form-label" for="inputDefault">Name:</label>
<input type="text" class="form-control player-name" placeholder="Your Name Here..." id="inputDefault">
<p></p>
<button type="submit" class="btn btn-primary add">Add</button>
<button type="button" class="btn btn-info new-game">New Game</button>
</div>
</div>
</div>
<div class="col md-3">
</div>
</div>
</section>
<!-- game output -->
<div class="container game">
<div class="row">
<div class="col">
<div id="question"></div>
<div id="scores"></div>
</div>
</div>
</div>
</div>
<!-- clear button -->
<div class="container">
<div class="row">
<div class="col">
<div id="storage"></div>
<p></p>
<button type="button" class="clear btn btn-primary btn-lg btn-block">Clear All Scores</button>
</div>
</div>
</div>
</div>
<!-- Audio Elements -->
<audio id="wrong-sound">
<source src="assets/audio/button-22.mp3" type="audio/mpeg">
</audio>
<audio id="right-sound">
<source src="assets/audio/page-flip-01a.mp3" type="audio/mpeg">
</audio>
<script type="module" src="assets/srcipts/questions.js"></script>
<script type="module" src="assets/srcipts/app.js"></script>
</body>
</html>