-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (65 loc) · 2.58 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
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<!--Inserido o favicon da logo da Alura na aba de endereço-->
<link rel="shortcut icon" type="image/x-icon" href="./imagens/alura.svg">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<title> Challenge 2 | Alura - Oracle ONE</title><link href="https://fonts.googleapis.com/css2?family=Source+Serif+Pro:wght@200&display=swap" rel="stylesheet">
</head>
<link rel="stylesheet" href="style.css">
<body>
<header>
<h1><img src="alura.svg" alt="logo Alura"></h1>
</header>
<body>
<h1>Jogo da forca - Homem de Giz</h1>
<h2>Digite uma letra e tente adivinhar a palavra!</h2>
<div class="jogo-container">
<div class="forca-container">
<svg height="250" width="200" class="forca">
<!-- forca -->
<line x1="60" y1="20" x2="140" y2="20" />
<line x1="140" y1="20" x2="140" y2="50" />
<line x1="60" y1="20" x2="60" y2="230" />
<line x1="20" y1="230" x2="100" y2="230" />
<!-- cabeça -->
<circle cx="140" cy="70" r="20" class="forca-parte" />
<!-- corpo -->
<line x1="140" y1="90" x2="140" y2="150" class="forca-parte" />
<!-- braços -->
<line x1="140" y1="120" x2="120" y2="100" class="forca-parte" />
<line x1="140" y1="120" x2="160" y2="100" class="forca-parte" />
<!-- pernas -->
<line x1="140" y1="150" x2="120" y2="180" class="forca-parte" />
<line x1="140" y1="150" x2="160" y2="180" class="forca-parte" />
</svg>
</div>
<div class="letras-erradas-container">
<h3>Letras incorretas</h3>
</div>
</div>
<div class="palavra-secreta-container"></div>
<div class="popup-container">
<div class="popup">
<h2 id="mensagem"></h2>
<button id="btn-jogar" onclick="reiniciarJogo()">
Jogar novamente
</button>
</div>
</div>
<script src="script.js"></script>
</body>
<!-- Footer -->
<footer class="page-footer">
<!-- Copyright -->
<div class="footer-copyright text-center py-1">
© Feito com ❤️ por <a href="https://github.com/anaisateodoro/challenges-oracle-one-02">Anaísa Mayara Teodoro</a>
</div>
<!-- Copyright -->
</footer>
<!-- Footer -->
</html>