generated from majazocom/Hangman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (64 loc) · 2.69 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
<!DOCTYPE html>
<html lang="en">
<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">
<link rel="stylesheet" href="./css/style.css">
<link rel="icon" href="data:;base64,iVBORw0KGgo=">
<title>Hangman Game</title>
</head>
<body>
<div class="wrapper">
<h1>The Hangman Game</h1>
<section class="content-wrapper">
<!--Left section-->
<article class="left-section">
<section id="points-counter">
<p id="wins">Total wins: <span>0</span></p>
<p id="losses">Total losses: <span>0</span></p>
</section>
<!--Animation-->
<section id="animation-container">
<article class="hangman-draw">
<div class="the-draw">
<div class="the-stand"></div>
<div class="the-hang"></div>
<div class="the-rope"></div>
<div class="the-man">
<div class="head"></div>
<div class="body"></div>
<div class="hands"></div>
<div class="legs"></div>
</div>
</div>
</article>
</section>
<!--End of animation-->
<aside class="mistake-counter-container">
<p id="mistake-counter"></p>
</aside>
</article>
<!--End of left section-->
<!--Right section-->
<article class="right-section">
<article class="letter-section">
<h3>Guess the word by picking a letter</h3>
<p id="category">The category is: <span></span></p>
<section id="buttons"></section>
<section id="word-holder"></section>
</article>
<button id="play-again" class="button-style" >Play Again</button>
<p id="right-answer"></p>
<p id="countDown"></p>
</article>
<!--End of right section-->
</section>
</div>
<audio id="failLetter" src="audio/failLetter.mp4.wav" preload="auto"></audio>
<audio id="fail" src="audio/fail.wav" preload="auto"></audio>
<audio id="letterSound" src="audio/letter.wav" preload="auto"></audio>
<audio id="winSound" src="audio/winSound.wav" preload="auto"></audio>
<script src="./script/script.js"></script>
</body>
</html>