-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (49 loc) · 1.85 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Jogo da Forca</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<img src="assets/alura.png" width="100" height="100">
<h1 class="titulo" style="text-align: center;">Jogo da Forca</h1>
<div style="text-align:center; margin: 50px 0px;" id="container-iniciar-jogo">
<button class="btn" id="btn-iniciar-jogo">INICIAR JOGO</button>
</div>
<div style="text-align:center;">
<div id="container-digitar-letras">
<input placeholder="Digite uma letra" type="text" class="text-input"
id="letra-text" maxlength="1">
<div style="text-align:center;" class="container-inline" id="container-letras-digitadas">
</div>
<span id="erro-entrada">
<p id="error-empty"></p>
</span>
<button class="btn" type="button" id="btnPalavra">OK</button>
</div>
</div>
<div class="content">
<div class="box">
<canvas id="forca" height="500px" width="400px"></canvas>
<div>
<span id="vitoria">
<p>Parabéns Você Ganhou!</p>
<button id="btnPerdeu">Reiniciar Partida!</button>
</span>
<span id="derrota">
<p>Você perdeu!</p>
<button id="btnPerdeu">Reiniciar Partida!</button>
</span>
<div class="container-inline">
<div class="container-space" id="container">
</div>
<div id="container-tracinhos">
</div>
</div>
<script type="text/javascript" src="js/canvas.js"></script>
<script type="text/javascript" src="js/forca.js"></script>
</body>
</html>