-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
41 lines (34 loc) · 1.82 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
<!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">
<link rel="shortcut icon" href="./assets/tic-tac-toe.png" type="image/x-icon">
<link rel="stylesheet" href="./styles.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css">
<script src="./main.js" defer></script>
<title>Tic Tac Toe</title>
</head>
<body>
<header class="title">
<h1 class="title">TIC - TAC - TOE</h1>
<a href="https://github.com/curveservices/tic-tac-toe" target="_blank"><i class="bi bi-github" width="45px"></i></a>
<!-- <i class="bi-brightness-high-fill" id="toggle-dark" width="45px"></i> -->
</header>
<main class="game-board x o" id="gameboard"></main>
<div class="winning-message" id="winningMessage">
<div class="message" id="message"></div>
<button id="restart">Restart Game</button>
</div>
<div class="controls show">
<h1>PLAY A GAME OF TIC-TAC-TOE?</h1>
<label for="player1">X's goes first</label>
<input type="text" id="player1" placeholder="Player 'X' Name" required>
<label for="player2">O's goes second</label>
<input type="text" id="player2" placeholder="Player 'O' Name" required>
<button id="start-button">Start Game</button>
</div>
<footer class="footer">Built by <a class="footer-link" href="https://github.com/curveservices" target="_blank">Rozla-Dev</a> | <a class="footer-link" href="https://github.com/curveservices/Library" target="_blank" >Source </a><a class="icon" href="https://github.com/curveservices/tic-tac-toe" target="_blank"><i class="bi bi-github"></i></a></footer>
</body>
</html>