-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
25 lines (22 loc) · 1.01 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
<!DOCTYPE html>
<html>
<head>
<title>Chess Sign In</title>
<link rel="stylesheet" href="SiteStylesheet.css"></link>
<script type="text/javascript" src="IndexJavascript.js"></script>
</head>
<body>
<h1>Simple Chess</h1>
<p>This is a simple chess interface. It allows you to place, move, capture, and remove pieces
just as you would on a physical chess board!</p>
<p>To begin, enter the names of the players.</p>
<form name="signIn" onsubmit="return validateNames()" action="Game.html" method="GET">
<table>
<tr><td >Player 1:</td><td ><input type="text" name="username1"></td><td ><span id="player1Message" class="inputInfo">Username for white player.</span></td></tr>
<tr><td >Player 2:</td><td ><input type="text" name="username2"></td><td ><span id="player2Message" class="inputInfo">Username for black player.</span></td></tr>
<tr><td style="display:table-cell;" colspan="3"><input type="submit" value="Submit"></td></tr>
</table>
<span id="errorMessage" style="color:red"></span>
</form>
</body>
</html>