-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtictactoe.html
More file actions
36 lines (35 loc) · 1.26 KB
/
tictactoe.html
File metadata and controls
36 lines (35 loc) · 1.26 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Tic-Tac-Toe</title>
<link rel="stylesheet" href="pro.css">
</head>
<body>
<main>
<div id="board">
<h1>Tic-Tac-Toe</h1>
<!--our top row-->
<div class="row">
<!--our squares where the player can place an X or O!-->
<div class="top left"></div>
<div class="top middle"></div>
<div class="top right"></div>
</div>
<!--our middle row-->
<div class="row">
<!--our squares where the player can place an X or O!-->
<div class="center left"></div>
<div class="center middle"></div>
<div class="center right"></div>
</div>
<!--out last row-->
<div class="row">
<!--our squares where the player can place an X or O!-->
<div class="last left"></div>
<div class="last middle"></div>
<div class="last right"></div>
</div>
</div>
</main>
</body>
</html>