-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
31 lines (30 loc) · 1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tic Tac Toe</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!--Game dive-->
<div id="gameContainer">
<h1 id="animate">Tic Tac Toe</h1>
<div id="cellContainer">
<div cellIndex="0" class="cell">X</div>
<div cellIndex="1" class="cell">O</div>
<div cellIndex="2" class="cell"></div>
<div cellIndex="3" class="cell"></div>
<div cellIndex="4" class="cell"></div>
<div cellIndex="5" class="cell"></div>
<div cellIndex="6" class="cell"></div>
<div cellIndex="7" class="cell"></div>
<div cellIndex="8" class="cell"></div>
</div>
<!--Message display Turn and winner-->
<h2 id="statusText"></h2>
<button id="restartBtn">Restart</button>
</div>
<script src="file.js"></script>
</body>
</html>