-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.html
66 lines (64 loc) · 1.72 KB
/
home.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
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<title>Tic Tac Toe</title>
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<link rel="stylesheet" href="/index.css" />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@900&display=swap"
rel="stylesheet"
/>
</head>
<body>
<h1 id="level-title">Tic Tac Toe</h1>
<div class="join-container">
<main class="join-main">
<form action="/" method="post">
<div class="form-control">
<label for="username">Username</label>
<input
type="text"
name="username"
id="username"
placeholder="Enter username..."
required
/>
</div>
<div class="form-control">
<label for="room">Create Room</label>
<input
type="text"
name="room"
id="room"
placeholder="Create/join room..."
required
/>
</div>
<button type="submit" class="start">Start Game</button>
<div>
<button
name="type"
type="submit"
class="start"
value="vsai"
formnovalidate
>
VS AI
</button>
<button
name="type"
type="submit"
class="start"
value="offline"
formnovalidate
>
Play Offline
</button>
</div>
</form>
</main>
</div>
<footer><a href="mailto:[email protected]"> @Ananta</a></footer>
</body>
</html>