-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (38 loc) · 1.14 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
<!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 Game</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<main>
<h1>Tic-Tac-Toe</h1>
<div class="points">
<p>Points of <b>O</b> is <span id="o">0</span></p>
<p>Points of <b>X</b> is <span id="x">0</span></p>
</div>
<p class="chance">Play O</p>
<div class="game_container">
<div class="game">
<button class="box"></button>
<button class="box"></button>
<button class="box"></button>
<button class="box"></button>
<button class="box"></button>
<button class="box"></button>
<button class="box"></button>
<button class="box"></button>
<button class="box"></button>
</div>
</div>
<p class="result"></p>
<div class="btn">
<button id="reset-btn">Reset Game</button>
<button id="new-btn">New Game</button>
</div>
</main>
<script src="./script.js"></script>
</body>
</html>