-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (52 loc) · 1.47 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
48
49
50
51
52
<!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>Registrer</title>
<link rel="stylesheet" href="form.css" />
<script src="form.js" defer></script>
</head>
<body>
<main>
<h1>Register</h1>
<form method="get">
<label for="username">Username</label>
<input
type="text"
name="username"
id="username"
placeholder="Enter username"
/>
<span class="error" id="username-error"></span>
<label for="email">Email</label>
<input
type="text"
inputmode="email"
id="email"
name="email"
placeholder="Enter email"
/>
<span class="error" id="email-error"></span>
<label for="password">Password</label>
<input
type="password"
id="password"
name="password"
placeholder="Enter password"
/>
<span class="error" id="password-error"></span>
<label for="password-again">Confirm Password</label>
<input
type="password"
id="password-confirm"
name="password again"
placeholder="Enter password again"
/>
<span class="error" id="password-confirm-error"></span>
<button>Submit</button>
</form>
</main>
</body>
</html>