-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (45 loc) · 2.12 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="imagens/favicon-videogame.png" type="image/x-icon">
<link rel="stylesheet" href="style.css">
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
<title>Mini Projeto - M1</title>
</head>
<body>
<div class="game quiz-animacao">
<h1>QUIZ</h1>
<button id="startButton" onclick="startGame()">Iniciar Jogo</button>
<div class="quiz">
<h2 id="pergunta">Lorem ipsum dolor sit amet</h2>
<div class="respostas">
<button class="btn">Pergunta 1</button>
<button class="btn">Pergunta 2</button>
<button class="btn">Pergunta 3</button>
<button class="btn">Pergunta 4</button>
</div>
<button id="try-again" onclick="resetQuiz()">Tente novamente</button>
<button id="prox-btn" onclick="nextQuestion()">Proxímo</button>
<button id="reset-btn" onclick="resetQuiz()"><i class='bx bx-undo'></i></button>
<div id="myModal" class="modal">
<div class="modal-content">
<span class="close" onclick="closeModal()">×</span>
<p>Salvar score:</p>
<input type="text" id="playerNameInput" />
<button onclick="submitName()">Enviar</button>
</div>
</div>
<div id="ganhadores-container"></div>
<!-- Ative o botão para limpar o histórico de ganhadores -->
<!-- <button id="limpar-btn" onclick="limparHistorico()">Limpar Histórico</button> -->
<div id="music">
<audio id="audioPlayer" src="./audio/Warm Nights.mp3" type="audio/mp3" preload="metadata"
loop="auto"></audio>
</div>
</div> <!-- fechamento da div com classe "quiz" -->
</div> <!-- fechamento da div com classes "game quiz-animacao" -->
<script src="script.js"></script>
</body>
</html>