-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
141 lines (124 loc) · 5.93 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
139
140
141
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Quiz Educativo</title>
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="./styles/styles.css"/>
<link rel="stylesheet" href="./styles/pages/credits.css"/>
<link rel="stylesheet" href="./styles/pages/game.css"/>
<!-- Arquivos das Perguntas -->
<script src="data/astronomia.js" defer></script>
<script src="data/corpo_humano.js" defer></script>
<script src="data/futebol.js" defer></script>
<script src="data/geografia.js" defer></script>
<script src="data/geral.js" defer></script>
<script src="data/historia.js" defer></script>
<!-- Scripts -->
<script src="./scripts/funcs.js" defer></script>
<script src="./scripts/app.js" defer></script>
<script src="./scripts/screens.js" defer></script>
<script src="./scripts/events.js" defer></script>
</head>
<body>
<header>
<h1 id="title">Quiz Educativo</h1>
</header>
<main>
<div id="main-menu">
<button onclick="change_screen('select-category')">Jogar</button>
<button onclick="change_screen('instructions')">Instruções</button>
<button onclick="change_screen('options')">Opções</button>
<button onclick="change_screen('credits')">Créditos</button>
</div>
<div id="instructions">
<div class="container">
<p>Clique em Jogar e escolha uma categoria de perguntas. Por padrão o quiz lhe fará 10 perguntas.</p>
<p>Ao responder uma pergunta, será informado por cor e som se ela estava correta.</p>
<p>No final das perguntas a quantidade de acertos total é revelada.</p>
</div>
<button onclick="change_screen('main-menu')">Voltar</button>
</div>
<div id="options">
<div id="number-of-questions" class="option-container container">
<h3>Número Máximo de Perguntas:</h3>
<input type="range" min="1" max="30" value="10" class="slider">
<p>10</p>
</div>
<button onclick="change_screen('main-menu')">Voltar</button>
</div>
<div id="credits">
<div class="person-credit">
<figure>
<img src="https://jgss-gabriel-sousa.github.io/img/myself.jpg">
<figcaption>José Gabriel de Sousa Silva</figcaption>
</figure>
<div class="person-info">
<h3>Educador</h3>
<ul>
<li><p>Estudante do Bacharelado de Engenharia de Computação na UFPB</p></li>
<li><p>Técnico de Manutenção e Suporte em Informática pelo IFPB</p></li>
</ul>
<div class="person-social">
<button>
<a href="https://github.com/jgss-gabriel-sousa" target="_blank">
<img src="https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white">
</a>
</button>
<button>
<a href="https://www.linkedin.com/in/jgss-gabriel-sousa/" target="_blank">
<img src="https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white">
</a>
</button>
<button>
<a href="https://www.instagram.com/gabriel__sousa._/" target="_blank">
<img src="https://img.shields.io/badge/Instagram-DD2A7B?style=for-the-badge&logo=instagram&logoColor=white">
</a>
</button>
</div>
</div>
</div>
<br>
<div class="person-credit">
<figure>
<img src="img/maria_luisa.jpg">
<figcaption>Maria Luísa Lopes Patriota</figcaption>
</figure>
<div class="person-info">
<h3>Desenvolvedora</h3>
<ul>
<li><p>Estudante do Bacharelado em Ciências e Tecnologia na UFRN</p></li>
</ul>
<div class="person-social">
<button>
<a href="https://github.com/malulpatriota" target="_blank">
<img src="https://img.shields.io/badge/GitHub-100000?style=for-the-badge&logo=github&logoColor=white">
</a>
</button>
<button>
<a href="https://www.instagram.com/malulpatriota/" target="_blank">
<img src="https://img.shields.io/badge/Instagram-DD2A7B?style=for-the-badge&logo=instagram&logoColor=white">
</a>
</button>
</div>
</div>
</div>
<button onclick="change_screen('main-menu')">Voltar</button>
</div>
<div id="select-category">
<div class="container">
<h2>Escolha um tema para as perguntas?</h2>
<div id="select-category-options"></div>
</div>
<button onclick="change_screen('main-menu')">Voltar</button>
</div>
<div id="game-container">
<div id="question" class="container"></div>
<button id="restart-button" onclick="reloadPage()">Reiniciar</button>
</div>
<div id="end-screen" class="container"></div>
</main>
</body>
</html>