-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
138 lines (127 loc) · 4.99 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
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
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<link href="reset.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet">
</head>
<title>Boas Vindas</title>
</head>
<body>
<img src="oie_transparent.png" class="imagem">
<form onsubmit="return false">
<p id="nao-quis-jogar"></p>
<div id="primeira-parte" style="display: block">
<label class="principal">Por favor digite seu nome: </br> <input type="text" id="nome" placeholder="Digite aqui seu nome"></label>
<button type="submit" id="comecar">Entrar</button>
</div>
<p id="ola-jogador"></p>
<div id="participar" style="display: none;" >
<h2 class="principal">Deseja jogar ou não?</h2>
<span class="caixa">
<label for="sim-ou-nao" class="permissao">
<input type="radio" id="sim" name="sim-ou-nao" checked> Sim
</label>
<label for="sim-ou-nao" class="permissao">
<input type="radio" id="nao" name="sim-ou-nao"> Nao
</label>
<button type="submit" id="comecar-2" class="permissao">Seguir</button>
</span>
</div>
<div id="escolha-tema" style="display: none;">
<button type= "submit" id="botao-matematica"> Matemática</button>
<button type= "submit" id="botao-html"> HTML</button>
</div>
<div id="perguntas-matematica" style="display: none;" >
<span>
<h2>Primeira pergunta: <br> Quanto é 2+2?</h2>
<label for="respostas-1">
<input type="radio" id="certa-1" name="respostas-1"> 4
</label>
<label for="respostas-1">
<input type="radio" id="errada-1" name="respostas-1"> 0
</label>
<label for="respostas-1">
<input type="radio" id="errada-2" name="respostas-1"> 15
</label>
<h3 id="resultado-1"></h3>
</span>
<span>
<h2>Segunda pergunta: <br> Quanto é 20 + 30?</h2>
<label for="respostas-2">
<input type="radio" id="errada-3" name="respostas-2"> 34
</label>
<label for="respostas-2">
<input type="radio" id="certa-2" name="respostas-2"> 50
</label>
<label for="respostas-2">
<input type="radio" id="errada-4" name="respostas-2"> 40
</label>
<h3 id="resultado-2"></h3>
</span>
<span>
<h2>Terceira pergunta: <br> Quanto é 5 x 10?</h2>
<label for="respostas-3">
<input type="radio" id="errada-5" name="respostas-3"> 70
</label>
<label for="respostas-3">
<input type="radio" id="errada-6" name="respostas-3"> 25
</label>
<label for="respostas-3">
<input type="radio" id="certa-3" name="respostas-3"> 50
</label>
<h3 id="resultado-3"></h3>
</span>
<button type="submit" id="comecar-mat">Conferir as Respostas</button>
</div>
<div id="perguntas-html" style="display: none;" >
<span id="teste">
<h2>Primeira pergunta: <br> Pra que serve /n?</h2>
<label for="respostas-1">
<input type="radio" id="certa-11" name="respostas-1"> Pular linha
</label>
<label for="respostas-1">
<input type="radio" name="respostas-1"> Centralizar texto
</label>
<label for="respostas-1">
<input type="radio" name="respostas-1"> Sublinhar
</label>
<h3 id="resultado-11"></h3>
</span>
<span>
<h2>Segunda pergunta: <br> O que é uma header?</h2>
<label for="respostas-2">
<input type="radio" id="certa-22" name="respostas-2"> Uma tag de cabeçalho
</label>
<label for="respostas-2">
<input type="radio" name="respostas-2"> Uma tag de informação
</label>
<label for="respostas-2">
<input type="radio" name="respostas-2"> Uma tag de link
</label>
<h3 id="resultado-22"></h3>
</span>
<span>
<h2>Terceira pergunta: <br> O que é um footer?</h2>
<label for="respostas-3">
<input type="radio" id="certa-33" name="respostas-3"> Rodapé
</label>
<label for="respostas-3">
<input type="radio" name="respostas-3"> Cabeçalho
</label>
<label for="respostas-3">
<input type="radio" name="respostas-3"> N/A
</label>
<h3 id="resultado-33"></h3>
</span>
<button type="submit" id="comecar-html">Conferir as Respostas</button>
</div>
<div class="respostas" id="resultado-final" style="display: none;">
<button id="retorno-jogo" > Jogar novamente</button>
</div>
</form>
<script src="boasvindas.js"></script>
</body>
</html>