-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (43 loc) · 1.67 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
43
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]> <html class="no-js"> <!--<![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
</head>
<body>
<center> <h1 class="head"><span>TIC--TAC--TOE</span></h1>
<br>
<div class="container">
<div class="main-content">
<img src="img.png" alt="svg" height="25%" width="20%">
<div class="block1">
<button id="1" onclick="play(1)"></button>
<button id="2" onclick="play(2)"></button>
<button id="3" onclick="play(3)"></button>
</div>
<div class="block2">
<button id="4" onclick="play(4)"></button>
<button id="5" onclick="play(5)"></button>
<button id="6" onclick="play(6)"></button>
</div>
<div class="block3">
<button id="7" onclick="play(7)"></button>
<button id="8" onclick="play(8)"></button>
<button id="9" onclick="play(9)"></button>
</div>
</div>
<div id="message"></div>
</div>
<button class="gameover" onclick="reset()">Game Over</button>
</center>
<script src="index.js" async defer></script>
</body>
</html>