-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (53 loc) · 2.26 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
<!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="./styles.css" />
<title>Tic tac</title>
</head>
<body>
<main class="main">
<div class="container">
<div class="title">
<h1>Tic-tac-toe</h1>
</div>
<div class="players">
<!-- Added in JS -->
</div>
<form class="names">
<h2>Welcome, enter a cool Name.</h2>
<div class="form">
<div class="input-fields">
<!-- Player 1 name -->
<label for="name-1" class="player-name"><span><img src="./imgs/iconmonstr-x-mark-thin.svg" alt=""></span>Player 1 name:</label>
<input type="text" class="form" id="name-1" name="name-1">
<!-- Player 2 name -->
<label for="name-2" class="player-name"><span><img src="./imgs/iconmonstr-circle-6.svg" alt=""></span>Player 2 name:</label>
<input type="text" class="form" id="name-2" name="name-2">
</div>
<!-- Buttons -->
<div class="btns">
<button class="btn btn--play" type="submit" >Play!</button>
<button class="btn btn--a-i">Play with A.I.</button>
</div>
</div>
</form>
<div class="board-container banish">
<div class="box" ><p data-box=0 class="symbol symbol--0"></p></div>
<div class="box" ><p data-box=1 class="symbol symbol--1"></p></div>
<div class="box" ><p data-box=2 class="symbol symbol--2"></p></div>
<div class="box"><p data-box=3 class="symbol symbol--3"></p></div>
<div class="box" ><p data-box=4 class="symbol symbol--4"></p></div>
<div class="box" ><p data-box=5 class="symbol symbol--5"></p></div>
<div class="box" ><p data-box=6 class="symbol symbol--6"></p></div>
<div class="box" ><p data-box=7 class="symbol symbol--7"></p></div>
<div class="box" ><p data-box=8 class="symbol symbol--8"></p></div>
</div>
<button class="btn btn--reset banish">reset</button>
</div>
</main>
<script src="./app.js"></script>
</body>
</html>