-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
41 lines (36 loc) · 1.61 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="css/main.css">
<title>Tic Tac Toe</title>
</head>
<body class="bg-dark">
<h1 class="text-center my-3 text-white">Tic-Tac-Toe Game</h1>
<div class="container">
<div class="mx-md-5 px-md-5">
<div class="alert alert-primary text-center" id="alert">Enter your names to start.</div>
<div id="game">
<table class="table text-center">
<tbody id="table-body"></tbody>
</table>
</div>
</div>
<div class="justify-content-center" id="input">
<input class="form-control" type="text" placeholder="Enter Player 1 Name" id="name1">
<input class="form-control mt-2" type="text" placeholder="Enter Player 2 Name" id="name2">
</div>
<div class="text-center" id="start">
<button class="btn text-center my-3 btn-primary" >Start</button>
</div>
<div class="text-center" id="restart">
<button class="btn text-center my-3 btn-primary" onclick="location.reload()" >Restart</button>
</div>
</div>
</div>
<script src="js/main.js"></script>
</body>
</html>