-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
30 lines (27 loc) · 1.13 KB
/
Copy pathindex.html
File metadata and controls
30 lines (27 loc) · 1.13 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>X&O</title>
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
</head>
<body>
<div class="game">
<div class="title"><span id="title">X & O<span id="gameintitle"> Game</span></span></div>
<div class="squares">
<div class="square" id="item1" onclick="game(this)"></div>
<div class="square" id="item2" onclick="game(this)"></div>
<div class="square" id="item3" onclick="game(this)"></div>
<div class="square" id="item4" onclick="game(this)"></div>
<div class="square" id="item5" onclick="game(this)"></div>
<div class="square" id="item6" onclick="game(this)"></div>
<div class="square" id="item7" onclick="game(this)"></div>
<div class="square" id="item8" onclick="game(this)"></div>
<div class="square" id="item9" onclick="game(this)"></div>
<button class="reset" onclick="reset()">Reset</button>
</div>
</div>
</body>
</html>