-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
69 lines (66 loc) · 2.3 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Tic-Tac-Toe" />
<meta property="og:description" content="Web version of the popular turn-based game Tic-Tac-Toe." />
<meta property="og:image" content="https://frosty-babbage-596eea.netlify.app/images/og-image.png" />
<title>Tic-Tac-Toe</title>
<link rel="stylesheet" href="./styles.css" />
<script
src="https://kit.fontawesome.com/c2406da8a6.js"
crossorigin="anonymous"
></script>
<script async defer data-domain="frosty-babbage-596eea.netlify.app" src="https://plausible.joshuaflores.rocks/js/plausible.js"></script>
</head>
<body>
<main>
<div>
<header id="header">
<h1>TIC-TAC-TOE</h1>
<p><i>...or noughts and crosses if you're British</i></p>
</header>
<div class="form-container">
<form action="" id="startForm">
<input
type="text"
id="player1Name"
name="player1Name"
placeholder="Player 1 Name"
/>
<input
type="text"
id="player2Name"
name="player2Name"
placeholder="Player 2 Name"
/>
<button type="submit">START GAME</button>
</form>
</div>
<div class="board" id="board" style="display: none">
<div class="square" id="square0"></div>
<div class="square" id="square1"></div>
<div class="square" id="square2"></div>
<div class="square" id="square3"></div>
<div class="square" id="square4"></div>
<div class="square" id="square5"></div>
<div class="square" id="square6"></div>
<div class="square" id="square7"></div>
<div class="square" id="square8"></div>
<button id="btn-reset">RESET</button>
</div>
</div>
</main>
<footer>
<p>Created by Josh Flores </p>
<a href="https://github.com/Joshua-Flores/tic-tac-toe"
>View source on Github <i class="fab fa-github"></i
></a>
</footer>
</div>
<script src="./app.js"></script>
</body>
</html>