-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (26 loc) · 949 Bytes
/
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
<!-- Wordlze - a test by Joe Mattelaer and James Muir -->
<html>
<head>
<script>var game_id = '99999999';</script>
<title>Wordzle - A test by Joe Mattelaer and James Muir</title>
<link rel="stylesheet" type="text/css" href="style.css">
<!-- Font CSS -->
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Luckiest+Guy">
</head>
<body>
<h1 id='title' style='text-align: center;'>Wordzle</h1>
<div id='word-input-container'>
<div id='status-container'>
Waiting for players
</div>
<form onsubmit='addWord(); return false;'>
<input id='word-input' type='text' maxlength='20' onkeypress="return isAcceptableChar(event);" placeholder='enter word here'/>
<input id='word-input-go' type="submit" value="Go" />
</form>
</div>
</div>
<!-- This div is placed after the form so that when it is modified, the text box is not unselected -->
<div id='words'>
</body>
<script src="js.js"></script>
</html>