-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (43 loc) · 1.5 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
<!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" />
<link rel="stylesheet" href="styles.css" />
<title>Tic Tac Toe Game</title>
</head>
<body>
<div class="Header"><p>Tic Tac Teo Game</p></div>
<div class="startMessage show" data-startMessage>
Choose who to start :
<div class="buttons">
<button id="xbtn">X</button>
<button id="obtn">O</button>
</div>
</div>
<div class="border" id="border">
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
</div>
<div class="currentScore">
<p>Current score </p>
<p>X : <p id="xScore"></p> </p> <br>
<p>O : <p id="oScore"></p> </p> <br>
<p>Draw : <p id="dScore"></p> </p>
</div>
<div class="finalMessage" data-finalMessage>
<div class="message" data-finalMessageText></div>
<button data-finalMessageBtn>Restart</button>
</div>
<div class="Footer"><p>Made with ♥ By Slimene Fellah</p></div>
</body>
<script src="scripts.js"></script>
</html>