-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (44 loc) · 2.13 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
<!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">
<title>Tic-Tac-Toe</title>
<link href="./output.css" rel="stylesheet">
<script src="js.js" defer></script>
</head>
<body class="flex justify-center space-y-10 justify-center items-center flex-col h-screen">
<form>
<label class="border-2 border-amber-100" for="player1">Player 1 Name:</label>
<input class="border-2 border-solid bg-amber-50" type="text" id="player1" name="player1" placeholder="Please enter player 1 name"><br>
<label class="border-2 border-amber-100" for="player2">Player 2 Name:</label>
<input class="border-2 border-solid bg-amber-50" type="text" id="player2" name="player2" placeholder="Please enter player 2 name"><br>
<input class="border-2 border-solid bg-slate-300 border-red-400 rounded-lg w-20 savebutton" type="submit" value="Save">
<button class="border-2 border-solid bg-slate-300 border-red-400 rounded-lg w-20 " type="button">Reset</button>
</form>
<table class="table-fixed border border-indigo-600 w-1/5">
<thead>
<tr class="border-b border-indigo-600">
<th class="border-r border-indigo-600">Player</th>
<th>Score</th>
</tr>
</thead>
<tbody>
<tr class="border-b border-indigo-600">
<td class="p1-name border-r border-indigo-600">Player 1</td>
<td class="p1-score">P1 Score</td>
</tr>
<tr>
<td class="p2-name border-r border-indigo-600">Player 2</td>
<td class="p2-score">P2 Score</td>
</tr>
</tbody>
</table>
<div class="">
<div class="body">BODY</div>
<button class="reset-board border-2 bg-slate-300 border-solid border-cyan-800 rounded-lg hover:border-dotted">Reset Board</button>
<button class="reset-score border-2 bg-slate-300 border-solid border-cyan-800 rounded-lg hover:border-dotted">Reset Score</button>
</div>
</body>
</html>