-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (40 loc) · 1.3 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
<doctype! html>
<html>
<head>
<meta name = "viewport" content = "width=device-width, initial-scale=1.0">
<link rel = "stylesheet" type = "text/css" href = "style.css">
<title>Tic-Tac-Toe</title>
</head>
<body>
<header>
<h1>Tic-Tac-Toe</h1>
</header>
<div class = "main">
<span id = "front"><img src = "grid_c.png" id = "grid-visual"></span>
<span id = "back">
<table class = "grid">
<tr>
<td id = "r1c1"></td>
<td id = "r1c2"></td>
<td id = "r1c3"></td>
</tr>
<tr>
<td id = "r2c1"></td>
<td id = "r2c2"></td>
<td id = "r2c3"></td>
</tr>
<tr>
<td id = "r3c1"></td>
<td id = "r3c2"></td>
<td id = "r3c3"></td>
</tr>
</table>
</span>
</div>
<div class = "resultText">
<h2 id = "result">Player 1's turn!</h2>
<button id = "button"></button>
</div>
<script src = "script.js"></script>
</body>
</html>