-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgame.html
More file actions
55 lines (49 loc) · 1.88 KB
/
game.html
File metadata and controls
55 lines (49 loc) · 1.88 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/game.css">
<title>JavaScript Code Directory</title>
</head>
<body>
<header>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="">Game</a></li>
<li><a href="joke.html">Funny Bone</a></li>
<section id='weather-data'>
<h2 id='title'></h2>
<img id='icon'>
<p id='temperature'></p>
</section>
</ul>
</nav>
</header>
<h1 class="game-title">Game Center</h1>
<main class="wrapper">
<div class="game-container">
<main>
<h1 class="game-subtitle">Welcome to Tic Tac Toe</h1>
<h3 class="game-info">Player X's Turn</h3>
<!-- Gameboard will go here -->
<section id="gameboard">
<!-- We need 9 tic tac toe cells -->
<div data-index='0' class="square bottom"></div>
<div data-index='1' class="square bottom right left"></div>
<div data-index='2' class="square bottom">X</div>
<div data-index='3' class="square bottom">O</div>
<div data-index='4' class="square bottom right left"></div>
<div data-index='5' class="square bottom">X</div>
<div data-index='6' class="square"></div>
<div data-index='7' class="square right left"></div>
<div data-index='8' class="square"></div>
</section>
<button class="btn">Reset</button>
</main>
</div>
</main>
<script src="js/tic-tac-toe.js"></script>
</body>
</html>