-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (43 loc) · 1.4 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 name="viewport" content="width=device-width, initial-scale=1.0" />
<title>XO Game</title>
<link rel="stylesheet" href="css/main.css" />
<script src="script.js" defer></script>
</head>
<body>
<div class="container">
<div class="header">
<h1 class="header-h1">XO Game</h1>
<div class="btns">
<button class="btn start-btn" type="submit" form="name-form">
Start
</button>
<button class="btn restart-btn">Restart</button>
</div>
</div>
<div class="players-name">
<form class="name-form" method="#" id="name-form">
<h2 class="header-h2">Enter your names, warriors</h2>
<div>
<label for="input-one">X Name:</label>
<input type="text" id="input-one" name="playerX" autofocus required />
</div>
<div>
<label for="input-two">O Name:</label>
<input type="text" id="input-two" name="playerO" required />
</div>
</form>
</div>
<h2 class="gameover-h2 hidden">Game Over</h2>
<div class="container-board"></div>
<div class="blur-modal-board"></div>
<div class="players">
<p class="text-bottom-player1 hidden"></p>
<p class="text-bottom-player2 hidden"></p>
</div>
</div>
</body>
</html>