-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (41 loc) · 1.79 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
<!DOCTYPE html>
<html lang="pt-br">
<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">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./css/main.css">
<script defer src="./js/main.js"></script>
<script defer src="./js/canvas.js"></script>
<title>Jogo da forca - Alura & ONE</title>
</head>
<body>
<img src="./assets/logo.svg" alt="logo da Alura" class="logo">
<div id="div-desaparece" class="botoes-home">
<a href="#forca"><input class="btn-iniciar" type="submit" value="Iniciar Jogo" id="iniciar-jogo" >
</a>
<button class="btn-palavra" id="nova-palavra" onclick="mostrarTelaAdicionarPalavra()">Adicionar Palavra</button>
</div>
<div id= "adicionar-palavra" class="palavra-nova">
<input class="text-input" type="text" id="input-nova-palavra" maxlength="8" placeholder="Escreva uma palavra">
<div class="form-group">
<img src="./assets/!.png" class="img-alerta">
<label for="input-texto"> Máx. 8 caracteres</label>
</div>
<div class="botoes-div">
<input class="btn-azul" type="submit" value="Salvar e começar" id="btn-salvar">
<input class="btn-branco" type="submit" value="Cancelar" id="btn-cancelar">
</div>
</div>
<div id="div-aparece-forca" class="canvas">
<canvas id="forca" height="860px" width="1200"></canvas>
<div class="sublinhado">
</div>
<div class="botoes-div-canvas">
<input class="btn-azul" type="submit" value="Novo Jogo" id="btn-novo-jogo">
<input class="btn-branco" type="submit" value="Sair" id="btn-sair">
</div>
</div>
</body>
</html>