-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (43 loc) · 1.96 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
<!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>XO-game</title>
<!-- style -->
<link rel="stylesheet" href="style/style.css">
<!-- fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
</head>
<body>
<section class="XO-game">
<img id="winImg" class="winImg" src="img/ngif.gif" alt="">
<div class="main-container">
<div class="container">
<div id="end-game" class="end-game">
<div id="winMsg" class="winMsg">the winner is :<span id="winner-Name"> X</span></div>
</div>
<div id="game-info" class="game-info">Turn : <span> O</span></div>
<div class="game-conatainer">
<div id="block" class="banar"></div>
<div id="game" class="grid-game">
<div id="sq1" onclick="clkd(this.id)" class="sq"></div>
<div id="sq2" onclick="clkd(this.id)" class="sq"></div>
<div id="sq3" onclick="clkd(this.id)" class="sq"></div>
<div id="sq4" onclick="clkd(this.id)" class="sq"></div>
<div id="sq5" onclick="clkd(this.id)" class="sq"></div>
<div id="sq6" onclick="clkd(this.id)" class="sq"></div>
<div id="sq7" onclick="clkd(this.id)" class="sq"></div>
<div id="sq8" onclick="clkd(this.id)" class="sq"></div>
<div id="sq9" onclick="clkd(this.id)" class="sq"></div>
</div>
</div>
</div>
<div class="copyRight">@Abdulrahman Mohammed</div>
</div>
</section>
<script src="js/main.js"></script>
</body>
</html>