-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (41 loc) · 1.37 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Noughts & Crosses</title>
<link rel="shortcut icon" href="assets/favicon.png" type="image/x-icon" />
<!-- Jost Font -->
<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=Jost:ital,wght@0,100..900;1,100..900&display=swap"
rel="stylesheet"
/>
<!-- Custom Styling -->
<link rel="stylesheet" href="assets/scss/main.scss" />
</head>
<body>
<div class="container">
<h1 class="heading">Noughts & Crosses</h1>
<!-- Current Player -->
<p class="status">Player: <span class="player">X</span></p>
<!-- 3x3 Grid -->
<div class="game-grid">
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
</div>
<!-- Reset Functionality -->
<button class="btn-reset">New Game</button>
</div>
<!-- Scripts -->
<script src="src/main.ts" type="module"></script>
</body>
</html>