-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (54 loc) · 1.85 KB
/
index.html
File metadata and controls
54 lines (54 loc) · 1.85 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Tic-Tac-Toe</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap"
rel="stylesheet"
/>
</head>
<body>
<!-- Build your game board, instructions, and score displays here! -->
<main class="background">
<section class="title">
<h1>Tic-Tac-Toe</h1>
<style></style>
</section>
<section class="display">
Player <span class="display-player playerX">X</span>'s turn
</section>
<section class="container">
<div class="tile"></div>
<div class="tile"></div>
<div class="tile"></div>
<div class="tile"></div>
<div class="tile"></div>
<div class="tile"></div>
<div class="tile"></div>
<div class="tile"></div>
<div class="tile"></div>
</section>
<section class="display announcer hide"></section>
<section class="controls">
<button id="reset">Play Again?</button>
</section>
<section class="score">
<span id="score">
<div id="playerOneDisplay">X</div>
<div id="playerTwoDisplay">O</div>
<div id="playerTieDisplay">T</div>
<div id="playerOneScoreDisplay">0</div>
<div id="playerTwoScoreDisplay">0</div>
<div id="playerTieScoreDisplay">0</div>
</span>
</section>
</main>
<!-- Build your game board, instructions, and score displays here! -->
<script type="text/javascript" src="js/app.js"></script>
</body>
</html>