-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (29 loc) · 1.11 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="tic tac toe.css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width">
</head>
<body>
<h1>TIC TAC TOE</h1>
<h1 class="main">Player 1's(o) turn.</h1>
<br>
<br>
<h1 class="main1"> Click on a empty box to start game</h1>
<div class="but">
<div class="c1" onclick="reply(this.id)" id="1"> </div>
<div class="c2" onclick="reply(this.id)" id="2"> </div>
<div class="c3" onclick="reply(this.id)" id="3"> </div>
<div class="c4" onclick="reply(this.id)" id="4"> </div>
<div class="c5" onclick="reply(this.id)" id="5"> </div>
<div class="c6" onclick="reply(this.id)" id="6" > </div>
<div class="c7" onclick="reply(this.id)" id="7"> </div>
<div class="c8" onclick="reply(this.id)" id="8"> </div>
<div class="c9" onclick="reply(this.id)" id="9"> </div>
<br>
</div>
<button class="but1" onclick="my1()">RESTART</div>
<script src="tic tac toe.js"></script>
</body>
</html>