-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
69 lines (50 loc) · 1.74 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 name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tic Tac Toe Game</title>
<!-- Google Fonts -->
<link
href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@400&display=swap"
rel="stylesheet"
/>
<link href="https://fonts.googleapis.com/css2?family=Raleway:wght@900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" href="/favicon.png" type="image/png" />
</head>
<body>
<div class="heading-container">
<h1>Let's play!</h1>
<button id="restart-button" >Restart</button>
</div>
<!-- Rules card section -->
<div class="rules-card">
<div class="rules-card-inner">
<div class="rules-card-front">
<p class="rules-card-heading">Hover here to see the rules</p>
</div>
<div class="rules-card-back">
<ul><p class="rules-card-heading">Rules</p></ul>
<li>Player "X" will take first turn.</li>
<li>The first player to get 3 of their marks in a row (up, down, across, or diagonally) is the winner!</li>
</div>
</div>
</div>
<!-- Game board section -->
<div class="gameboard-container">
<div class="box first-box" id=0></div>
<div class="box second-box" id=1></div>
<div class="box third-box" id=2></div>
<div class="box fourth-box" id=3></div>
<div class="box fifth-box" id=4></div>
<div class="box sixth-box" id=5></div>
<div class="box seventh-box" id=6></div>
<div class="box eighth-box" id=7></div>
<div class="box ninth-box" id=8></div>
</div>
<!-- footer section -->
<footer class="footer">Made with ❤️ by Mrinmay</footer>
<script src="app.js"></script>
</body>
</html>