forked from robrich502/wordgame
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwordgame.html
More file actions
50 lines (49 loc) · 2 KB
/
wordgame.html
File metadata and controls
50 lines (49 loc) · 2 KB
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
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Word Game - US States Edition</title>
<link href='http://fonts.googleapis.com/css?family=Ubuntu:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="css/style.css">
<script src="javascript/secretwords.js"></script>
<script src="javascript/main.js"></script>
</head>
<body class="container" onload="OnLoad()">
<header>
<nav>
<ul>
<li><a href="index.html">About</a>
</li>
<li class="selected"><a href="wordgame.html">Play Game</a>
</li>
<li><a href="players.html">Quit</a>
</li>
</ul>
</nav>
</header>
<div class="gamebox">
<div id="scorebox" class="gbox">
</div>
<div id="hintbox" class="gbox">
</div>
<div id="resultbox" class="gbox">
<p id="resultText"></p>
<p id="guessesText"></p>
<button id="restart" type="button" onclick="restartGame()">Restart?</button>
</div>
<div id="guessbox" class="gbox">
<label id="question">What State do you guess from the hint given above?</label>
<input type="text" id="txtGuess" autofocus onkeydown="if (event.keyCode == 13) document.getElementById('submit').click()">
<button id="submit" type="button" onclick="CheckWord()">Submit</button>
</div>
</div>
<footer>
<div class="footer">
<a href="http://www.codelouisville.org/"><img src="#" alt="">
</a>
<p>Copyright 2015© Wednesday Night CodeLouisville Front End Developer class</p>
</div>
</footer>
</body>
</html>