-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (61 loc) · 2.05 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
68
69
70
71
72
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Quiz</title>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Audiowide"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Trirong"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
/>
<link rel="icon" href="favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"
integrity="sha512-..."
crossorigin="anonymous"
/>
<script
src="https://kit.fontawesome.com/a9e77efac0.js"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<audio id="background-music" autoplay muted loop>
<source src="SuperMarioBros.mp3" type="audio/mpeg" />
</audio>
<div id="audio-controls">
<button id="toggle-audio" onclick="toggleAudio()">
<i class="fa-solid fa-volume-xmark"></i>
</button>
</div>
<div class="result-box">
<h1>Quiz</h1>
<h4>Resultado anterior: <span id="last-score"></span></h4>
<h4>Melhor resultado: <span id="high-score"></span></h4>
</div>
<div id="button-container">
<button onclick="startGame()" id="btn-start">Start Game</button>
<button id="reset-button">Reset Scores</button>
</div>
<div id="timer-display"></div>
<div id="quiz-box">
<h3 id="question-text"></h3>
<ul id="choices"></ul>
<h3 id="result"></h3>
</div>
<script src="app.js"></script>
</body>
</html>