-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (44 loc) · 2.27 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<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=Chakra+Petch:wght@700&family=Inter:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<title>Sorteador de números</title>
</head>
<body>
<div class="container">
<div class="container__conteudo">
<div class="container__informacoes">
<div class="container__texto">
<h1>Sorteador<span class="container__texto-azul"> de números</span></h1>
<div class="container__campo">
<label class="texto__paragrafo">Quantidade de números</label>
<input class="container__input" id="quantidade" type="number" min="1">
</div>
<div class="container__campo">
<label class="texto__paragrafo">Do número</label>
<input class="container__input" id="de" type="number" min="1">
</div>
<div class="container__campo">
<label class="texto__paragrafo">Até o número</label>
<input class="container__input" id="ate" type="number" min="1">
</div>
</div>
<div class="chute container__botoes">
<button onclick="sortear()" id="btn-sortear" class="container__botao">Sortear</button>
<button onclick="reiniciar()" id="btn-reiniciar" class="container__botao-desabilitado" >Reiniciar</button>
</div>
<div class="container__texto" id="resultado">
<label class="texto__paragrafo">Números sorteados: nenhum até agora</label>
</div>
</div>
<img src="./img/ia.png" alt="Uma pessoa com capacete de astronauta" class="container__imagem-pessoa" />
</div>
</div>
<script src="app.js" defer></script>
</body>
</html>