forked from elc1090/project2-2024a-marcos-noble
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (60 loc) · 2.47 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
<!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 href="style.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet">
</head>
<body>
<div id="startScreen">
<h1 id="titulo">Quiz</h1>
<label class="label-options" for="difficulty">Dificuldade</label>
<select class="options" id="difficulty">
<option value="todas">Todas</option>
<option value="easy">Easy</option>
<option value="medium">Medium</option>
<option value="hard">Hard</option>
</select>
<label class="label-options" for="category">Categoria</label>
<select class="options" id="category">
<option value="todas">Todas</option>
<option value="linux">Linux</option>
<option value="bash">bash</option>
<option value="uncategorized">uncategorized</option>
<option value="Docker">Docker</option>
<option value="SQL">SQL</option>
<option value="CMS">CMS</option>
<option value="Code">Code</option>
<option value="DevOps">DevOps</option>
<!-- Add more options as needed -->
</select>
<button class="button-17" role="button" onclick="startQuiz()">Start Quiz</button>
</div>
<div id="telaJogo" style="display: none;">
<!--<h1 id="titulo">Quiz</h1> -->
<p id="dificuldade">dificuldade</p>
<p id="tema">tema</p>
<p id="caixaPergunta">...</p>
<div id="listaRespostas"></div>
<button class="button-17" role="button" onclick="gerarPergunta()">
Carregar pergunta
</button>
<button class="button-17" role="button" onclick="verificarResposta()">
Verificar resposta
</button> <br>
<div id="scoreBox">
<h4 id="score">Acertos: 0 Erros: 0</h4>
</div>
<button class="button-17" role="button" id="button3" onclick="reset()">
Reset
</button>
</div>
<script src="app.js"></script>
</body>
</html>