-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
50 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
<!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">
<title>Square Game</title>
<link rel="stylesheet" href="index.css">
<!-- adding fevicon -->
<link rel="shortcut icon" href="gametic.png" type="image/x-icon">
</head>
<body>
<h1>Square Game</h1>
<div class="slider">
<div class="highlight" id="highlight"></div>
<p class="slider-text" id="sliderTextX">X</p>
<p class="slider-text" id="sliderTextO">O</p>
</div>
<div class="container">
<div class="row row1">
<div class="box" id="box1"></div>
<div class="box" id="box2"></div>
<div class="box" id="box3"></div>
</div>
<div class="row row2">
<div class="box" id="box4"></div>
<div class="box" id="box5"></div>
<div class="box" id="box6"></div>
</div>
<div class="row row3">
<div class="box" id="box7"></div>
<div class="box" id="box8"></div>
<div class="box" id="box9"></div>
</div>
</div>
<!-- Added message display area for user-friendly messages -->
<p id="gameMessage"></p>
<!-- Winning line div -->
<div id="winning-line"></div>
<!-- <button id="reset">New Game</button> -->
<div class="footer-content">
<button id="reset">New Game</button>
<button id="multiplayer">Multiplayer</button>
</div>
<section id="owner">
<p>Developed with ❤️ by <span id="owner-name">Sharad Singh</span></p>
</section>
<script src="index.js"></script>
</body>
</html>