-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (27 loc) · 1.15 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
<!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="stylesheet" type="text/css" href="app.css">
<title>Hangman</title>
</head>
<body>
<div class="info">Try and guess the hidden word below before it's too late!
You can guess either one letter at a time or the whole word, but if you get the word wrong you lose 2 guesses!</div>
<input type="text" placeholder="Guess">
<button style="display:none;">Play again</button>
<div class="word"></div>
<div class="hangman"></div>
<span style="position:absolute;bottom:10px;left:10px;">
<div class="guessesLeft">Guesses left: <span class="bold">10</span></div>
<div class="guessed">Guessed letters: <span class="bold"></span></div>
</span>
<span style="position:absolute;bottom:10px;right:10px;text-align:right;">
<div>Streak: <span class="streak bold">0</span></div>
<div>Average score: <span class="score bold">-</span></div>
</span>
</body>
<script src="app.js"></script>
</html>