-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (39 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
<!DOCTYPE html>
<html>
<head>
<title>Tic Tac Toe</title>
<!-- This *title tag* makes it so that the browser tab reads "Tic Tac Toe" -->
<link rel="stylesheet" href="style.css" />
<!-- Tells the browser to apply all of the *style declarations* from our "style.css" file. -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.js"></script>
<!-- Tells the browser to load the jQuery library. For more info, see https://www.google.com/search?q=what+is+jQuery -->
<script src="script.js"></script>
<!-- Tells the browser to *execute* the code in our "script.js" file. -->
</head>
<body>
<div class="play-against-computer">
Play against computer?
<input id="play-against-computer" type="checkbox" checked="checked" />
</div>
<div class="whose-turn-is-it"></div>
<table class="tic-tac-toe-gameboard">
<!-- A tic-tac-toe board is essentially a 3x3 table. -->
<tr class="tic-tac-toe-row">
<td class="tic-tac-toe-space"></td>
<td class="tic-tac-toe-space"></td>
<td class="tic-tac-toe-space"></td>
</tr>
<tr class="tic-tac-toe-row">
<td class="tic-tac-toe-space"></td>
<td class="tic-tac-toe-space"></td>
<td class="tic-tac-toe-space"></td>
</tr>
<tr class="tic-tac-toe-row">
<td class="tic-tac-toe-space"></td>
<td class="tic-tac-toe-space"></td>
<td class="tic-tac-toe-space"></td>
</tr>
</table>
<a target="_BLANK" href="https://github.com/willcodeforfood/tic-tac-toe/commits/master">Click here to see, step by step, how this game was created!</a>
</body>
</html>