forked from TIYDC/crash-course-js-hangman
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
51 lines (40 loc) · 1.5 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
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<title>Hangman!</title>
<meta name='description' content='A simple game of hangman'>
<meta name='author' content='Jordan Kasper'>
<meta name='viewport' content='width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no'>
<link rel='stylesheet' type='text/css' href='hangman.css'>
</head>
<body>
<main>
<header>
<h1>Hangman!</h1>
</header>
<section>
<p id='result'></p>
<figure id='current-word'></figure>
<aside>
(Missed: <span id='missed'></span>)
Guessed: <span id='guesses'></span>
</aside>
</section>
<aside class='actions'>
<input type='text' id='letter' maxlength='1'>
<button id='guess'>Guess Letter</button>
<button id='new-game'>New Game</button>
</aside>
<footer>
<p>
This game was created to practice JavaScript skills during a
<a href='https://github.com/TIYDC/crash-course-js-hangman'>crash course</a> at
<a href='http://theironyard.com'>The Iron Yard</a>.
</p>
</footer>
</main>
<script src='words.js'></script>
<script src='hangman.js'></script>
</body>
</html>