-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
205 lines (165 loc) · 10.5 KB
/
index.html
File metadata and controls
205 lines (165 loc) · 10.5 KB
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!DOCTYPE html>
<html>
<head>
<title>quiZ | Conhecimentos Gerais</title>
<meta charset="utf-8">
<link rel='shortcut icon' type='image/x-icon' href='img/favicon.ico' />
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
</head>
<body>
<!-- Início da apresentação -->
<div>
<h1><a href="#"><img src="img/quizlogo1.png" width="150em"></a></h1>
<h2>Conhecimentos Gerais</h2>
<p>Um quiz desenvolvido para testar os seus conhecimentos relacionados a áreas diversas do conhecimento</p>
</div>
<div>
<h2> Vamos começar? </h2>
<button type="button" id="botaoIniciar" onmouseover="mouseSobreBotao(this)" onmouseout="mouseForaBotao(this)" onclick="iniciarQuiz()">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none" style="vertical-align: middle">
<path fill-rule="evenodd" clip-rule="evenodd" d="M10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18ZM11 7C11 6.44772 10.5523 6 10 6C9.44771 6 9 6.44772 9 7L9 10.5858L7.70711 9.29289C7.31658 8.90237 6.68342 8.90237 6.29289 9.29289C5.90237 9.68342 5.90237 10.3166 6.29289 10.7071L9.29289 13.7071C9.68342 14.0976 10.3166 14.0976 10.7071 13.7071L13.7071 10.7071C14.0976 10.3166 14.0976 9.68342 13.7071 9.29289C13.3166 8.90237 12.6834 8.90237 12.2929 9.29289L11 10.5858V7Z" fill="#fff"/>
</svg>
<strong style="vertical-align: middle">Iniciar</strong>
</button>
</div>
<!-- Fim da apresentação -->
<!-- Início do quiz -->
<div id="quiz" style="display: none">
<div class="perguntas"> <!-- Pergunta 1 -->
<h2>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z" />
</svg>
Questão 1 </h2>
<p><strong> O nome da galáxia mais próxima à Via Láctea é Andrômeda.</strong></p>
<input type="radio" name="resposta1" class="pergunta1" value="correto"> Verdadeiro
<input type="radio" name="resposta1" class="pergunta1" value="errado"> Falso
<p id="correcao1"></p>
</div>
<div class="perguntas"><!-- Pergunta 2 -->
<h2>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z" />
</svg>
Questão 2
</h2>
<p><strong> O animal mais rápido do mundo é o guepardo.</strong></p>
<input type="radio" name="resposta2" class="pergunta2" value="errado"> Verdadeiro
<input type="radio" name="resposta2" class="pergunta2" value="correto"> Falso
<p id="correcao2"></p>
<p class="infoCorrecao">Resposta: O animal mais rápido do mundo é o <strong>falcão peregrino</strong>, chegando a velocidades de 320km/h em vôo.</p>
</div>
<div class="perguntas"><!-- Pergunta 3 -->
<h2>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z" />
</svg>
Questão 3
</h2>
<p><strong> Durante a Segunda Guerra Mundial, a aliança conhecida como "Eixo" era formada, principalmente, por Alemanha, Japão e França.</strong></p>
<input type="radio" name="resposta3" class="pergunta3" value="errado"> Verdadeiro
<input type="radio" name="resposta3" class="pergunta3" value="correto"> Falso
<p id="correcao3"></p>
<p class="infoCorrecao">Resposta: As potências do Eixo eram formadas, principalmente, por Alemanha, Japão e Itália. A França fazia parte dos Aliados.</p>
</div>
<div class="perguntas"><!-- Pergunta 4 -->
<h2>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z" />
</svg>
Questão 4
</h2>
<p><strong> O gás presente em maior quantidade na atmosfera terrestre é o nitrogênio (N2).</strong></p>
<input type="radio" name="resposta4" class="pergunta4" value="correto"> Verdadeiro
<input type="radio" name="resposta4" class="pergunta4" value="errado"> Falso
<p id="correcao4"></p>
</div>
<div class="perguntas"><!-- Pergunta 5 -->
<h2>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z" />
</svg>
Questão 5
</h2>
<p><strong> O famoso comediante Charlie Chaplin nasceu na cidade de Nova Iorque, nos Estados Unidos.</strong></p>
<input type="radio" name="resposta5" class="pergunta5" value="errado"> Verdadeiro
<input type="radio" name="resposta5" class="pergunta5" value="correto"> Falso
<p id="correcao5"></p>
<p class="infoCorrecao"> Resposta: Charlie Chaplin era britânico e nasceu em Londres.</p>
</div>
<div class="perguntas"><!-- Pergunta 6 -->
<h2>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z" />
</svg>
Questão 6
</h2>
<p><strong> Os astronautas americanos Neil Armstrong e Buzz Aldrin foram os primeiros homens a viajar para o espaço.</strong></p>
<input type="radio" name="resposta6" class="pergunta6" value="errado"> Verdadeiro
<input type="radio" name="resposta6" class="pergunta6" value="correto"> Falso
<p id="correcao6"></p>
<p class="infoCorrecao"> Resposta: O primeiro homem a ir para o espaço foi o cosmonauta soviético <strong>Iuri Gagarin</strong>, em 1961. Os americanos seriam os primeiros homens a <strong>pisar na Lua</strong>, 8 anos depois.</p>
</div>
<div class="perguntas"><!-- Pergunta 7 -->
<h2>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z" />
</svg>
Questão 7
</h2>
<p><strong> O sistema métrico é adotado como sistema padrão de medidas por diversos países do mundo, entre eles: Reino Unido, Austrália e Nova Zelândia.</strong></p>
<input type="radio" name="resposta7" class="pergunta7" value="correto"> Verdadeiro
<input type="radio" name="resposta7" class="pergunta7" value="errado"> Falso
<p id="correcao7"></p>
</div>
<div class="perguntas"><!-- Pergunta 8 -->
<h2>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z" />
</svg>
Questão 8
</h2>
<p><strong> O intestino é o maior órgão do corpo humano.</strong></p>
<input type="radio" name="resposta8" class="pergunta8" value="errado"> Verdadeiro
<input type="radio" name="resposta8" class="pergunta8" value="correto"> Falso
<p id="correcao8"></p>
<p class="infoCorrecao"> Resposta: O maior órgão do corpo humano é a <strong>pele</strong>.</p>
</div>
<div class="perguntas"><!-- Pergunta 9 -->
<h2>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z" />
</svg>
Questão 9
</h2>
<p><strong> A fórmula original da Coca-Cola continha cocaína.</strong></p>
<input type="radio" name="resposta9" class="pergunta9" value="correto"> Verdadeiro
<input type="radio" name="resposta9" class="pergunta9" value="errado"> Falso
<p id="correcao9"></p>
</div>
<div class="perguntas"><!-- Pergunta 10 -->
<h2>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15.232 5.232l3.536 3.536m-2.036-5.036a2.5 2.5 0 113.536 3.536L6.5 21.036H3v-3.572L16.732 3.732z" />
</svg>
Questão 10
</h2>
<p><strong> Nos anos 90, Steve Jobs foi demitido da Apple.</strong></p>
<input type="radio" name="resposta10" class="pergunta10" value="correto"> Verdadeiro
<input type="radio" name="resposta10" class="pergunta10" value="errado"> Falso
<p id="correcao10"></p>
</div>
<div style="margin-bottom: 1em"> <!-- Botão para mostrar resultado -->
<p id="numeroCertas"></p>
<button type="button" id="botaoVerificaRespostas" onmouseover="mouseSobreBotao(this)" onmouseout="mouseForaBotao(this)" onclick="verificarRespostas()">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="currentColor" style="vertical-align: middle">
<path fill-rule="evenodd" d="M6.267 3.455a3.066 3.066 0 001.745-.723 3.066 3.066 0 013.976 0 3.066 3.066 0 001.745.723 3.066 3.066 0 012.812 2.812c.051.643.304 1.254.723 1.745a3.066 3.066 0 010 3.976 3.066 3.066 0 00-.723 1.745 3.066 3.066 0 01-2.812 2.812 3.066 3.066 0 00-1.745.723 3.066 3.066 0 01-3.976 0 3.066 3.066 0 00-1.745-.723 3.066 3.066 0 01-2.812-2.812 3.066 3.066 0 00-.723-1.745 3.066 3.066 0 010-3.976 3.066 3.066 0 00.723-1.745 3.066 3.066 0 012.812-2.812zm7.44 5.252a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" />
</svg>
<strong style="vertical-align: middle">Verificar respostas</strong>
</button>
</div>
</div>
<!-- Fim do quiz -->
</body>
</html>