-
Notifications
You must be signed in to change notification settings - Fork 129
/
Copy pathindex.html
79 lines (76 loc) · 3.46 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>App Academy Connect Four</title>
<link rel="stylesheet" href="./site.css">
</head>
<body>
<main>
<div id="form-holder">
<input id="player-1-name" placeholder="Player 1 Name" type="text">
<input id="player-2-name" placeholder="Player 2 Name" type="text">
<button id="new-game" disabled>New Game</button>
</div>
<div id="board-holder">
<div id="click-targets">
<div id="column-0" class="click-target"></div>
<div id="column-1" class="click-target"></div>
<div id="column-2" class="click-target"></div>
<div id="column-3" class="click-target"></div>
<div id="column-4" class="click-target"></div>
<div id="column-5" class="click-target"></div>
<div id="column-6" class="click-target"></div>
</div>
<div id="board-squares">
<div id="square-0-0" class="token-square"></div>
<div id="square-0-1" class="token-square"></div>
<div id="square-0-2" class="token-square"></div>
<div id="square-0-3" class="token-square"></div>
<div id="square-0-4" class="token-square"></div>
<div id="square-0-5" class="token-square"></div>
<div id="square-0-6" class="token-square"></div>
<div id="square-1-0" class="token-square"></div>
<div id="square-1-1" class="token-square"></div>
<div id="square-1-2" class="token-square"></div>
<div id="square-1-3" class="token-square"></div>
<div id="square-1-4" class="token-square"></div>
<div id="square-1-5" class="token-square"></div>
<div id="square-1-6" class="token-square"></div>
<div id="square-2-0" class="token-square"></div>
<div id="square-2-1" class="token-square"></div>
<div id="square-2-2" class="token-square"></div>
<div id="square-2-3" class="token-square"></div>
<div id="square-2-4" class="token-square"></div>
<div id="square-2-5" class="token-square"></div>
<div id="square-2-6" class="token-square"></div>
<div id="square-3-0" class="token-square"></div>
<div id="square-3-1" class="token-square"></div>
<div id="square-3-2" class="token-square"></div>
<div id="square-3-3" class="token-square"></div>
<div id="square-3-4" class="token-square"></div>
<div id="square-3-5" class="token-square"></div>
<div id="square-3-6" class="token-square"></div>
<div id="square-4-0" class="token-square"></div>
<div id="square-4-1" class="token-square"></div>
<div id="square-4-2" class="token-square"></div>
<div id="square-4-3" class="token-square"></div>
<div id="square-4-4" class="token-square"></div>
<div id="square-4-5" class="token-square"></div>
<div id="square-4-6" class="token-square"></div>
<div id="square-5-0" class="token-square"></div>
<div id="square-5-1" class="token-square"></div>
<div id="square-5-2" class="token-square"></div>
<div id="square-5-3" class="token-square"></div>
<div id="square-5-4" class="token-square"></div>
<div id="square-5-5" class="token-square"></div>
<div id="square-5-6" class="token-square"></div>
</div>
<div id="overlay"></div>
<div id="game-name"></div>
</div>
</main>
<script type="module" src="./connect-four.js"></script>
</body>
</html>