-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtic-tac-toe.html
More file actions
37 lines (37 loc) · 1.17 KB
/
tic-tac-toe.html
File metadata and controls
37 lines (37 loc) · 1.17 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
<!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/tic-tac-style.css" />
<script src="js/tic-tac-toe.js" defer></script>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Roboto&family=Varela+Round&display=swap"
rel="stylesheet"
/>
</head>
<body>
<header class="header">
<h1 class="title">Tic-Tac-Toe</h1>
</header>
<main class="main">
<div class="message" id="message">Player X's turn</div>
<div class="gameboard">
<div class="field" data-index="0"></div>
<div class="field" data-index="1"></div>
<div class="field" data-index="2"></div>
<div class="field" data-index="3"></div>
<div class="field" data-index="4"></div>
<div class="field" data-index="5"></div>
<div class="field" data-index="6"></div>
<div class="field" data-index="7"></div>
<div class="field" data-index="8"></div>
</div>
<div class="center">
<button class="restart-button" id="restart-button">Restart</button>
</div>
</main>
</body>
</html>