-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
37 lines (35 loc) · 1.21 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<script src="script.js" defer></script>
<title>Tic Tac Toe</title>
</head>
<body>
<header>
<h1>Tic Tac Toe</h1>
</header>
<main>
<!-- Game board dispaly -->
<div id="message">Player X's turn</div>
<div id="board-container">
<div class="board-cell" data-idx="0"></div>
<div class="board-cell" data-idx="1"></div>
<div class="board-cell" data-idx="2"></div>
<div class="board-cell" data-idx="3"></div>
<div class="board-cell" data-idx="4"></div>
<div class="board-cell" data-idx="5"></div>
<div class="board-cell" data-idx="6"></div>
<div class="board-cell" data-idx="7"></div>
<div class="board-cell" data-idx="8"></div>
</div>
<button id="reset-button" class="btn">Play Again</button>
</main>
<footer>
<p>Copyright © 2023 tono0682</p>
</footer>
</body>
</html>