-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtic-tac-toe.html
More file actions
56 lines (55 loc) · 1.31 KB
/
tic-tac-toe.html
File metadata and controls
56 lines (55 loc) · 1.31 KB
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
56
<!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>
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="./css/tic-tac-toe.css">
</head>
<body>
<div class="header">
<h1>Tic-Tac-Toe JS</h1>
</div>
<div id="board" class="board">
<div id="0-0">
<p></p>
</div>
<div id="0-1">
<p></p>
</div>
<div id="0-2">
<p></p>
</div>
<div id="1-0">
<p></p>
</div>
<div id="1-1">
<p></p>
</div>
<div id="1-2">
<p></p>
</div>
<div id="2-0">
<p></p>
</div>
<div id="2-1">
<p></p>
</div>
<div id="2-2">
<p></p>
</div>
</div>
<div class="menu">
<h2 id="player-turn">Player X's turn</h2>
<h2 id="win-output"></h2>
<div class="button-cont">
<button id="reset">
Reset Game
</button>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="./js/tic-tac-toe.js"></script>
</body>
</html>