-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (42 loc) · 1.62 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tic-Tac-Toe</title>
<link rel="stylesheet" href="reset.css"> <!-- reset default styles -->
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<div class="name">TIC-TAC-TOE</div>
<div class="author">by <a href="https://github.com/Punith1117/tic-tac-toe" title="github-source-code">Punith1117</a></div>
</header>
<dialog class="choose-player2">
<form method="dialog">
<div class="player1">
<div class="player-number">Player 1:</div>
<div class="player-avatar"></div>
<div class="player-name">
<label for="you">You</label>
<input type="radio" name="player1-name" id="you" checked>
</div>
</div>
<div class="player2">
<div class="player-number">Player 2:</div>
<div class="player-avatar"></div>
<div class="player-name">
<label for="Friend">Friend</label>
<input type="radio" name="player2-name" id="Friend" value="Friend">
<label for="Computer">Computer</label>
<input type="radio" name="player2-name" id="Computer" value="Computer" checked>
</div>
</div>
<div class="confirm">
<button type="submit">Confirm</button>
</div>
</form>
</dialog>
<script src="script.js" defer></script>
</body>
</html>