-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (56 loc) · 1.61 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Mythical Hangman</title>
<!-- Stylesheets -->
<link rel="stylesheet" href="public/css/index.css">
<link href="https://fonts.googleapis.com/css?family=PT+Sans:700%7CRoboto+Slab" rel="stylesheet">
</head>
<body id="background">
<div class="fade-in container">
<h1>Mythical Creature Hangman</h1>
<h2>Guess a letter...</h2>
<br>
<br>
<p><span id="play-space"></span></p>
<br><br>
<div id="feedback"></div>
<br><br>
<div class="form-box">
<form>
<label>Type a letter:</label>
<input type="text" name="guess">
<input type="submit"><br>
</form>
</div>
<br>
<p id="guesses">Guesses Remaining: <span id="tries"></span></p>
<br>
<p>Letters Guessed:</p>
<p><span id="letters-guessed"></span></p>
<br>
<p><span id="hint"></span></p>
<br>
<button class="hidden" id="restart">Play Again</button>
</div>
<!-- Winner Modal -->
<div class="modal hidden">
<div class="modal-box">
<header class="modal-header">
<a href="#" class="close">x</a>
</header>
<article class="modal-content">
<h1 id="modal-title">Congratulations!</h1>
<br>
<p id="modal-content">You've guessed the correct mythical creature. Wasn't that fun?</p>
<a href="#" class="play-again">PLAY AGAIN</a>
</article>
<footer class="modal-footer"></footer>
</div>
</div>
<!-- JavaScripts -->
<script src="public/js/index.js"></script>
</body>
</html>