-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
35 lines (32 loc) · 1.09 KB
/
index.html
File metadata and controls
35 lines (32 loc) · 1.09 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Jogo advinhação</title>
<link rel="stylesheet" href="style.css" />
<link
href="https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&display=swap"
rel="stylesheet"
/>
</head>
<body>
<main>
<div class="screen1">
<h1>Jogo da Adivinhação</h1>
<p>Adivinhe um número entre 0 e 10</p>
<form>
<input id="inputNumber" type="number" />
<button id="btnTry">Tentar</button>
</form>
</div>
<div class="screen2 hide">
<h2>Acertou em 3 vezes</h2>
<button id="btnReset">Jogar Novamente</button>
</div>
</main>
<script src="./main.js"></script>
</body>
</html>