forked from version1-workspace/ws-0300-js-tic-tac-toe
/
index.html
58 lines (57 loc) · 1.72 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tic Tac Toe</title>
<link
href="stylesheets/index.css"
rel="stylesheet"
type="text/css"
media="all"
/>
</head>
<body>
<div class="l-container">
<!-- write your html -->
<main class="l-main">
<header>
<h1>TIC TAC TOE</h1>
</header>
<div class="items">
<div class="items-item circle is-active">○</div>
<div class="items-item cross">×</div>
</div>
<div class="l-board">
<table class="table js-table">
<tbody>
<tr class="row">
<td class="cell js-cell" data-key="1"></td>
<td class="cell js-cell" data-key="2"></td>
<td class="cell js-cell" data-key="3"></td>
</tr>
<tr class="row">
<td class="cell js-cell" data-key="4"></td>
<td class="cell js-cell" data-key="5"></td>
<td class="cell js-cell" data-key="6"></td>
</tr>
<tr class="row">
<td class="cell js-cell" data-key="7"></td>
<td class="cell js-cell" data-key="8"></td>
<td class="cell js-cell" data-key="9"></td>
</tr>
</tbody>
</table>
</div>
<div class="l-footer">
<div class="state js-state">starting...</div>
<div>
<a class="btn btn-restart">RESTART</a>
</div>
</div>
</div>
</main>
</div>
<script type="text/javascript" src="js/function.js"></script>
</body>
</html>