-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
35 lines (33 loc) · 1.37 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
<!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="./style.css">
<title>Tic-Tac-Toe</title>
</head>
<body>
<div class="container">
<h1 class="title">Tic-Tac-Toe</h1>
<div class="board-container" id="container">
<div class="board">
<div class="square" id="1" onclick="makeMove(this)">
<!-- <div class="player">X</div> -->
</div>
<div class="square" id="2" onclick="makeMove(this)">
<!-- <div class="player">O</div> -->
</div>
<div class="square" id="3" onclick="makeMove(this)"></div>
<div class="square" id="4" onclick="makeMove(this)"></div>
<div class="square" id="5" onclick="makeMove(this)"></div>
<div class="square" id="6" onclick="makeMove(this)"></div>
<div class="square" id="7" onclick="makeMove(this)"></div>
<div class="square" id="8" onclick="makeMove(this)"></div>
<div class="square" id="9" onclick="makeMove(this)"></div>
</div>
</div>
</div>
<script type="text/javascript" src="./game.js"></script>
<script type="text/javascript" src="./layout.js"></script>
</body>
</html>