-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (50 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta content="text/html; charset=utf-8" http-equiv="content-type">
<meta name="viewport" content="width=device-width, intial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="task-3.css">
<title>Tic-Tac-Toe</title>
</head>
<body>
<div class="title">
<div class="img">
<img src="tic tac toe image.jpg" alt="Tic-Tac-Toe">
</div>
</div>
<div class="board">
<div class="container">
<p style="font-size: 30px;">Let's Play Together</p>
<div> </div>
<div class="GameBoard" id="GameBoard">
<div data-index="1" class="cell"></div>
<div data-index="2" class="cell"></div>
<div data-index="3" class="cell"></div>
<div data-index="4" class="cell"></div>
<div data-index="5" class="cell"></div>
<div data-index="6" class="cell"></div>
<div data-index="7" class="cell"></div>
<div data-index="8" class="cell"></div>
<div data-index="9" class="cell"></div>
<div id="strike" class="strike"></div>
</div>
</div>
<div class="GameOver hidden" id="GameOver">
<script type="module">
import confetti from 'https://cdn.skypack.dev/canvas-confetti';
confetti();
</script>
<h2 id="winning_Text"></h2>
<button class= "btn-styling" id="re-start">Play Again</button>
</div>
</div>
<footer>
<span>Created by <a>Manikanth Kolapalli </a> | <span class="far fa-copyright"></span>2022.</span>
</footer>
<script src="task-3.js"></script>
</body>
</html>