-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (36 loc) · 1.58 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
<html>
<head>
<title>Tic Tac Toe Game</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div>
<h1 class="gamePage">Tic Tac Toe game | XO game</h1>
<div id="who-win" class="popup hide">
<p id="win-message"></p>
</div>
</div>
<div class="wrapper">
<div class="container">
<button class="button-option" data-row="1" data-column="1" data-priority="1"></button>
<button class="button-option" data-row="1" data-column="2" data-priority="1"></button>
<button class="button-option" data-row="1" data-column="3" data-priority="1"></button>
<button class="button-option" data-row="2" data-column="1" data-priority="1"></button>
<button class="button-option" data-row="2" data-column="2" data-priority="1"></button>
<button class="button-option" data-row="2" data-column="3" data-priority="1"></button>
<button class="button-option" data-row="3" data-column="1" data-priority="1"></button>
<button class="button-option" data-row="3" data-column="2" data-priority="1"></button>
<button class="button-option" data-row="3" data-column="3" data-priority="1"></button>
</div>
<div class="popup choose-letter">
<p id="message">Play with</p>
<div class="letter-buttons">
<button class="letter-button">X</button>
<button class="letter-button">O</button>
</div>
</div>
<button id="restart">Restart the Game</button>
</div>
<script src="script.js"></script>
</body>
</html>