-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
45 lines (39 loc) · 1.41 KB
/
index.html
File metadata and controls
45 lines (39 loc) · 1.41 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
37
38
39
40
41
42
43
44
45
<!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>Tateti</title>
<link rel="stylesheet" type="text/css" href="tictactoe.css" />
<link href="https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Rubik:wght@300&display=swap" rel="stylesheet">
</head>
<body>
<div id="container">
<table class='board'>
<tr>
<td id="1" class='cell' onclick="plays(0);"></td>
<td id="2" class='cell' onclick="plays(1);"></td>
<td id="3" class='cell' onclick="plays(2);"></td>
</tr>
<tr>
<td id="4" class='cell' onclick="plays(3);"></td>
<td id="5" class='cell' onclick="plays(4);"></td>
<td id="6" class='cell' onclick="plays(5);"></td>
</tr>
<tr>
<td id="7" class='cell' onclick="plays(6);"></td>
<td id="8" class='cell' onclick="plays(7);"></td>
<td id="9" class='cell' onclick="plays(8);"></td>
</tr>
</table>
<div class="container-info">
<span id="turn">Turn</span>
<!-- <span id="winner"></span> -->
<button class="reset-btn" type="reset" id="reset" onclick="resetGame();render();"></button>
</div>
</div>
</body>
<script src="tictactoe.js"></script>
</html>