-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
72 lines (72 loc) · 3.2 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
<!DOCTYPE html>
<html lang="en">
<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="shortcut icon" href="./img/icon32-favicon.png" type="image/x-icon">
<link rel="stylesheet" href="./css/style-reset.css">
<link rel="stylesheet" href="./css/index.css">
<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=Montserrat:wght@200&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"/>
<title>.:HANGMAN GAME:.</title>
</head>
<body>
<header>
<img src="./img/logo-blanco.jpg" alt="LOGO ALURA">
</header>
<main class="container">
<section class="home-buttons">
<button class="btn-blue btn-start" id="btn-start">Start</button>
<button class="btn-white btn-new-word" id="btn-new-word">New word</button>
</section>
<section class="new-word">
<textarea id="txt-new-word" class="txt-input" cols="30" rows="10" placeholder="Enter a word."></textarea>
<div class="warningLabel">
<img src="./img/icon-warning.jpg" alt="WARNING ICON">
<p>Max. of letters 8.</p>
</div>
<div class="buttons-box">
<button class="btn-blue" id="btn-saveAndStart">Save and start</button>
<button class="btn-white" id="btn-exit-newWord">Exit</button>
</div>
</section>
<section class="hangman">
<canvas id="hangman-canvas" class="hangman-canvas" height="660px" width="900"></canvas>
<div class="keyboard">
<textarea id="txt-keyboard-users" class="txt-input txt-start" cols="5" rows="2" placeholder="ENTER YOUR LETTER HERE."></textarea>
<div class="warningLabel">
<img src="./img/icon-warning.jpg" alt="WARNING ICON">
<p>TRY TO WIN!</p>
</div>
</div>
<div class="buttons-box">
<button class="btn-blue" id="btn-newGame">New Game</button>
<button class="btn-white" id="btn-exit-game">Exit</button>
</div>
</section>
</main>
<footer>
<p>© Challenge Oracle ONE - By Diego Cárdenas</p>
<div class="contact">
<ul>
<li>
<a href="https://github.com/DiegoCardenasCriado/hangman-game" target="_blank">
<img src="img/icon-github.png" alt="Icon github">
</a>
</li>
<li>
<a href="https://www.linkedin.com/in/diego-cardenas-criado/" target="_blank">
<img src="img/icon-linkedin.png" alt="Icon linkedin">
</a>
</li>
</ul>
</div>
</footer>
<script src="./js/game.js"></script>
<script src="./js/index.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
</body>
</html>