-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (45 loc) · 1.18 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 lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="styles.css" />
<title>Tic_Tac_Toe</title>
</head>
<body>
<main id="main">
<h1>Tic Tac Toe</h1>
<p>
<b>Play 1</b> is <b>X</b>
<br />
<b>Play 2</b> is <b>O</b>
<br />
</p>
<br />
<div id="board">
<div class="row">
<div id="00" class="cell">X</div>
<div id="01" class="cell">O</div>
<div id="02" class="cell">X</div>
</div>
<div class="row">
<div id="10" class="cell">O</div>
<div id="11" class="cell">X</div>
<div id="12" class="cell">O</div>
</div>
<div class="row">
<div id="20" class="cell">X</div>
<div id="21" class="cell">O</div>
<div id="22" class="cell">X</div>
</div>
</div>
<br />
<p id="message"></p>
<br />
<div class="start-restart-game">
<button id="btn">Start/Restart Game</button>
</div>
</main>
<script src="app.js" defer></script>
</body>
</html>