-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·45 lines (40 loc) · 1.13 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-comatiable" content="ie=edge">
<meta name="viewport" content="width=device-width" initial-scale=1 viewport="cover">
<title>Tic Tac Toe</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="top-description">
<p>Human: 0<p>
<p>Computer: X<p>
<button onclick="playAgain()">Play Again</button>
</div>
<table>
<tbody>
<tr>
<td class="block" id="0"></td>
<td class="block" id="1"></td>
<td class="block" id="2"></td>
</tr>
<tr>
<td class="block" id="3"></td>
<td class="block" id="4"></td>
<td class="block" id="5"></td>
</tr>
<tr>
<td class="block" id="6"></td>
<td class="block" id="7"></td>
<td class="block" id="8"></td>
</tr>
</tbody>
</table>
<div class="resultMessage">
<p></p>
</div>
<script type="text/javascript" src="script.js"></script>
</body>
</html>