-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (46 loc) · 1.44 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
46
47
48
49
50
51
52
53
54
55
<!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>
<!-- linked the style.css -->
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Navbar of the game -->
<nav>
<ul>
<li>TicTacToe.game.in</li>
</ul>
</nav>
<!-- Turn of the game -->
<div class="turn" id="turnDisplay"></div>
<!-- GameBoard -->
<div class="Board">
<div class="game-board">
<div id="0" class="box bl-0 bt-0"></div>
<div id="1" class="box bt-0"></div>
<div id="2" class="box bt-0 br-0"></div>
<div id="3" class="box bl-0"></div>
<div id="4" class="box"></div>
<div id="5" class="box br-0"></div>
<div id="6" class="box bl-0 bb-0"></div>
<div id="7" class="box bb-0"></div>
<div id="8" class="box br-0 bb-0"></div>
</div>
<div class="gif">
<img src="blue-cat.gif" alt="gif-image">
<p>Let's Play</p>
</div>
</div>
<!-- Displaying winner in the game -->
<div class="info" id="infodisplay"></div>
<!-- Restart button of the game -->
<div class="btn">
<button id="reset">Restart</button>
</div>
<!-- linked the javascript -->
<script src="script.js"></script>
</body>
</html>