-
Notifications
You must be signed in to change notification settings - Fork 0
/
tictactoe.html
41 lines (36 loc) · 1.05 KB
/
tictactoe.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<link rel="stylesheet" type="text/css" href="tictactoe.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="/home/andrea/Tic-Tac-Toe-Game/ticatactoe.js" type="text/javascript" ></script>
</head>
<body>
<h1>With which one do you want to play?</h1>
<div id = "start">
<button type="button" class = "primary" id = "choiceX">X</button>
<button type="button" class = "primary" id = "choiceO">O</button>
<button type="button" class = "primary" id = "reset">Reset</button>
</div>
<table>
<div class = "game">
<tr>
<td id = "1" class = "fill"> </td>
<td id = "2" class = "fill"> </td>
<td id = "3" class = "fill"> </td>
</tr>
<tr>
<td id = "4" class = "fill"> </td>
<td id = "5" class = "fill"> </td>
<td id = "6" class = "fill"> </td>
</tr>
<tr>
<td id = "7" class = "fill"> </td>
<td id = "8" class = "fill"> </td>
<td id = "9" class = "fill"> </td>
</tr>
</div>
</table>
</body>
</html>