-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (68 loc) · 3.21 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
<!DOCTYPE html>
<html lang="pt">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jogo da Forca</title>
<link href="reset.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
<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=EB+Garamond:wght@400;500&family=Josefin+Sans:wght@400;500&family=Jost:wght@300;400;500;600&display=swap" rel="stylesheet">
</head>
<body>
<main>
<h1 id="titulo-jogo" class="titulo-jogo">jogo da forca</h1>
<button class="btn-principal" id="iniciar-jogo">iniciar jogo</button>
<div id="tabuleiro" class="tabuleiro">
<canvas width="210" height="240"></canvas>
<div id="div-linhas" class="div-linhas"></div>
<h2 id="letras-incorretas"></h2>
<div id="div-letras" class="div-letras">
<button class="btn-letras" id="0" value="a">A</button>
<button class="btn-letras" id="1" value="b">B</button>
<button class="btn-letras" id="2" value="c">C</button>
<button class="btn-letras" id="3" value="d">D</button>
<button class="btn-letras" id="4" value="e">E</button>
<button class="btn-letras" id="5" value="f">F</button>
<button class="btn-letras" id="6" value="g">G</button>
<button class="btn-letras" id="7" value="h">H</button>
<button class="btn-letras" id="8" value="i">I</button>
<button class="btn-letras" id="9" value="j">J</button>
<button class="btn-letras" id="10" value="k">K</button>
<button class="btn-letras" id="11" value="l">L</button>
<button class="btn-letras" id="12" value="m">M</button>
<button class="btn-letras" id="13" value="n">N</button>
<button class="btn-letras" id="14" value="o">O</button>
<button class="btn-letras" id="15" value="p">P</button>
<button class="btn-letras" id="16" value="q">Q</button>
<button class="btn-letras" id="17" value="r">R</button>
<button class="btn-letras" id="18" value="s">S</button>
<button class="btn-letras" id="19" value="t">T</button>
<button class="btn-letras" id="20" value="u">U</button>
<button class="btn-letras" id="21" value="v">V</button>
<button class="btn-letras" id="22" value="w">W</button>
<button class="btn-letras" id="23" value="x">X</button>
<button class="btn-letras" id="24" value="y">Y</button>
<button class="btn-letras" id="25" value="z">Z</button>
</div>
</div>
<div id="overlay" class="overlay">
<div class="modal">
<h2 id="mensagem-final" class="mensagem-final"></h2>
<p id="palavra-correta-chances" class="palavra-correta-chances"></p>
<button class="btn-principal" id="restart">jogar novamente</button>
</div>
</div>
</main>
<footer>
<ul class="footer-info">
<li>desenvolvido por julia lacerda para o projeto ONE</li>
<li>julialacerda@protonmail.com</li>
<li><a class ="footer-enviar-email" href="mailto: julialacerda@protonmail.com">enviar e-mail</a></li>
</ul>
</footer>
<script src="canvas.js"></script>
<script src="script.js"></script>
</body>
</html>