-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (56 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
51
52
53
54
55
56
57
58
<!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>Tic Tac Toe</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="select-box">
<h3>Tic Tac Toe</h3>
<div class="content">
<div class="title">Select which you want to be</div>
<div class="options">
<button class="playerX">Player X</button>
<button class="playerO">Player O</button>
</div>
</div>
</div>
<div class="play-board">
<div class="details">
<div class="players">
<span class="Xturn">X's tern</span>
<span class="Oturn">O's tern</span>
<div class="slider"></div>
</div>
</div>
<div class="play-area">
<section>
<span class="box1"></span>
<span class="box2"></span>
<span class="box3"></span>
</section>
<section>
<span class="box4"></span>
<span class="box5"></span>
<span class="box6"></span>
</section>
<section>
<span class="box7"></span>
<span class="box8"></span>
<span class="box9"></span>
</section>
</div>
</div>
<div class="result-box">
<div class="won-text"></div>
<div class="btn">
<button>Replay</button>
<button onClick="window.location.href = 'index.html'">Exit</button>
</div>
</div>
</body>
<script src="script.js"></script>
</html>