-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (40 loc) · 1.4 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Tic Tac Toe</title>
<meta name="Description" content="A simple TicTacToe game!">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#34495e"/>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<div id="hgroup">
<h1>Tic Tac Toe</h1>
<h3>An interactive game!</h3>
</div>
<button type="button" id="newGameButton">New game!</button>
</header>
<main>
<section id="modal">
<div id="modal-content">
<h2 id="result-text">Result</h2>
<figure id="result-symbol"></figure>
</div>
</section>
<figure id="tictactoe">
<div class="square" data-row="0" data-col="0"></div>
<div class="square" data-row="0" data-col="1"></div>
<div class="square" data-row="0" data-col="2"></div>
<div class="square" data-row="1" data-col="0"></div>
<div class="square" data-row="1" data-col="1"></div>
<div class="square" data-row="1" data-col="2"></div>
<div class="square" data-row="2" data-col="0"></div>
<div class="square" data-row="2" data-col="1"></div>
<div class="square" data-row="2" data-col="2"></div>
</figure>
</main>
<script src="logic.js"></script>
</body>
</html>