-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (43 loc) · 1.56 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./css/main.css">
<title>Odin Project Tic Tac Toe</title>
</head>
<body>
<p class="game-info">Set names and / or click "Start"</p>
<div class="turn-info-box">
<div class="player-x"></div>
<div class="player-o"></div>
</div>
<div class="grid">
<div data-id="1" tabIndex="0"></div>
<div data-id="2" tabIndex="0"></div>
<div data-id="3" tabIndex="0"></div>
<div data-id="4" tabIndex="0"></div>
<div data-id="5" tabIndex="0"></div>
<div data-id="6" tabIndex="0"></div>
<div data-id="7" tabIndex="0"></div>
<div data-id="8" tabIndex="0"></div>
<div data-id="9" tabIndex="0"></div>
</div>
<div class="panel">
<div class="input-box">
<label for="player-x">player X</label>
<input type="text" id="player-x" placeholder="your name / max. 10 characters" maxlength="10"
autocomplete="off">
<label for="player-o">player O</label>
<input type="text" id="player-o" placeholder="your name / max. 10 characters" maxlength="10"
autocomplete="off">
</div>
<div class="button-box">
<button class="start">Start</button>
<button class="restart">Restart</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>