-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (36 loc) · 1.43 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>🙋♀️ Quiz Programação</title>
<link rel="stylesheet" href="css/styles.css">
<script src="js/scripts.js" defer></script>
</head>
<body>
<h1 id="main-title">Quiz de programação</h1>
<!-- SCORE BOARD -->
<div id="score-container" class="hide">
<h2>Parabéns</h2>
<p id="display-score"><span>90</span>%</p>
<p>Você acertou <span id="correct-answers">0</span> de <span id="questions-qty">10</span> perguntas</p>
<button id="restart">Começar de novo!</button>
</div>
<!-- QUIZZ CONTAINER -->
<div id="quizz-container">
<p id="question">
<span id="question-number">1</span> - <span id="question-text">Qual é a unidade de medida para metros?</span>
</p>
<div id="answers-box">
<button><span class="btn-letter">a</span> <span class="question-answer">m</span></button>
<button><span class="btn-letter">b</span> <span class="question-answer">km</span></button>
<button><span class="btn-letter">c</span> <span class="question-answer">ms</span></button>
<button><span class="btn-letter">d</span> <span class="question-answer">r</span></button>
</div>
</div>
<!-- TEMPLATE RESPOSTA -->
<button class="answer-template hide">
<span class="btn-letter">a</span> <span class="question-answer">m</span>
</button>
</body>
</html>