-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (50 loc) · 1.55 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/main.css">
</head>
<body class="responsive">
<div class="group">
<div id="score">
<table>
<thead>
<tr>
<td colspan="2">Score Board</td>
</tr>
</thead>
<tr>
<td>X</td>
<td>O</td>
</tr>
<tr>
<td><p id="x-score">0</p></td>
<td><p id="o-score">0</p></td>
</tr>
</table>
</div>
<h1 id="heading">Tic Tac Toe</h1>
</div>
<br>
<div id="game">
<table>
<tr>
<td><img id="a1" src="img/blank.png" onclick="onClick('a1');"/></td>
<td><img id="a2" src="img/blank.png" onclick="onClick('a2');"/></td>
<td><img id="a3" src="img/blank.png" onclick="onClick('a3');"/></td>
</tr>
<tr>
<td><img id="b1" src="img/blank.png" onclick="onClick('b1');"/></td>
<td><img id="b2" src="img/blank.png" onclick="onClick('b2');"/></td>
<td><img id="b3" src="img/blank.png" onclick="onClick('b3');"/></td>
</tr>
<tr>
<td><img id="c1" src="img/blank.png" onclick="onClick('c1');"/></td>
<td><img id="c2" src="img/blank.png" onclick="onClick('c2');"/></td>
<td><img id="c3" src="img/blank.png" onclick="onClick('c3');"/></td>
</tr>
</table>
</div>
<script src="js/jquery-1.11.3.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>