-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (62 loc) · 2.39 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
<!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 rel="stylesheet" href="./assets/css/style.css">
<title>Jogo da Forca</title>
</head>
<body>
<header>
<h1>Jogo da Forca</h1>
</header>
<main>
<section class="game-container">
<div class="game">
<img src="./assets/images/hang0.svg" alt="Jogo da Forca" class="hangman" id="hang">
<div class="letters" id="letters-container"></div>
</div>
<div class="keyboard">
<div data-key="keyq" class="key">Q</div>
<div data-key="keyw" class="key">W</div>
<div data-key="keye" class="key">E</div>
<div data-key="keyr" class="key">R</div>
<div data-key="keyt" class="key">T</div>
<div data-key="keyy" class="key">Y</div>
<div data-key="keyu" class="key">U</div>
<div data-key="keyi" class="key">I</div>
<div data-key="keyo" class="key">O</div>
<div data-key="keyp" class="key">P</div>
<div data-key="keya" class="key">A</div>
<div data-key="keys" class="key">S</div>
<div data-key="keyd" class="key">D</div>
<div data-key="keyf" class="key">F</div>
<div data-key="keyg" class="key">G</div>
<div data-key="keyh" class="key">H</div>
<div data-key="keyj" class="key">J</div>
<div data-key="keyk" class="key">K</div>
<div data-key="keyl" class="key">L</div>
<br> <!--just to keep the keyboard sequence-->
<div data-key="keyz" class="key">Z</div>
<div data-key="keyx" class="key">X</div>
<div data-key="keyc" class="key">C</div>
<div data-key="keyv" class="key">V</div>
<div data-key="keyb" class="key">B</div>
<div data-key="keyn" class="key">N</div>
<div data-key="keym" class="key">M</div>
</div>
</section>
<section class="modal">
<div class="modal-container">
<h2 id="result-title"></h2>
<img id="result-image" class="result-image">
<p id="answer"></p>
<button class="restart-button" id="restart">Jogar novamente</button>
</div>
</section>
</main>
<footer>© Desenvolvido por <a href="https://github.com/rafatavares03" class="autor">Rafael Tavares</a></footer>
<script src="./assets/js/script.js"></script>
</body>
</html>