-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
35 lines (35 loc) · 993 Bytes
/
index.html
File metadata and controls
35 lines (35 loc) · 993 Bytes
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
<html>
<head>
<link rel="stylesheet" href="racer.css">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript" src="racer.js"></script>
</head>
<body>
<div id="game">
<h1>Welcome to Javascript Racer! Vroom vroom!</h1>
<h3>How many spaces does the track have?</h3>
<form id="game-info">
<div>
<select name="spaces">
<option value="10">10</option>
<option value="15">15</option>
<option value="20">20</option>
<option value="25">25</option>
<option value="30">30</option>
</select>
</div>
<h3>How many people are racing?</h3>
<div>
<select name="players">
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
</select>
</div>
<div>
<input id="submit-num-players-spaces" type="submit" value="Name your players!">
</div>
</form>
</div>
</body>
</html>