-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (51 loc) · 1.61 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tic-Tac-Toe</title>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<div class="container-fluid">
<section class="row text-center" id="main_title">
<h1>Tic-Tac-Toe</h1>
</section>
<section class="row">
<div class="col"></div>
<div class="col-lg-8 col-sm-12 text-center" id="board">
<div>
<button> </button>
<button> </button>
<button> </button>
</div>
<div>
<button> </button>
<button> </button>
<button> </button>
</div>
<div>
<button> </button>
<button> </button>
<button> </button>
</div>
</div>
<div class="col"></div>
</section>
<section class="row" id="instructions">
<div class="col"></div>
<div class="col-md-8 col-sm-12" id="instructions_text">
<p><span>Instructions:</span> Each player takes turns marking an empty square in a 3x3 grid, with one player as "X" and the other as "O". The first to get three marks in a row (horizontally, vertically, or diagonally) wins. If all squares are filled without a winner, the game ends in a draw.</p>
</div>
<div class="col"></div>
</section>
</div>
<script src="script.js"></script>
</body>
</html>