-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (54 loc) · 2.82 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
<!doctype html>
<html>
<head>
<title>20 - Challenge (JavaScript)</title>
<meta charset="utf-8" />
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<!-- Latest compiled and minified Bootstrap 5.3.1 CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
</head>
<body>
<div id="loading" style="display: flex;" class="h1 justify-content-center align-items-center vh-100">Loading Quiz, please wait!</div>
<div class="container" id="content" style="display: none;">
<div class="p-4 p-md-5 mb-4 text-white text-center rounded bg-dark" data-aos="zoom-in" id="start_game">
<div class="col-md-6 mx-auto">
<h1 class="display-4 fst-italic">Welcome to Brainster's Trivia!</h1>
<p class="lead my-3 border-bottom pb-3">Click on the start button to begin.</p>
<button id="startGame" class="btn btn-success">Start</button>
</div>
</div>
<div class="p-4 p-md-5 mb-4 text-dark text-center rounded bg-light" id="in_game" data-aos="zoom-in" style="display: none;">
<div class="col-md-6 mx-auto">
<h1 class="display-4 fst-italic">Good Luck!</h1>
<p class="lead my-3 border-bottom pb-3">Click on the button to start over.</p>
<button id="startOver" class="btn btn-warning">Start Over</button>
</div>
</div>
<div class="p-4 p-md-5 mb-4 text-dark text-center rounded bg-light" id="finish_game" data-aos="zoom-in" style="display: none;">
<div class="col-md-6 mx-auto">
<h1 class="display-4 fst-italic">Let's see your score!</h1>
<p class="lead my-3 border-bottom pb-3">Click on the button to start again.</p>
<button id="tryAgain" class="btn btn-danger">Try again</button>
</div>
</div>
<div class="row justify-content-center">
<div id="answers" class="col-sm-6"></div>
</div>
<div class="p-4 p-md-5 mb-4 text-dark text-center rounded bg-light mt-4" id="result_score" data-aos="zoom-in" style="display: none;">
<div class="col-md-6 mx-auto">
<h1 id="counter_score" class="display-4 fst-italic"></h1>
</div>
</div>
</div>
<!-- jQuery library -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<!-- Internal javaScript files -->
<script>
AOS.init()
</script>
<script src="./main.js"></script>
</body>
</html>