-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (57 loc) · 1.7 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
53
54
55
56
57
58
59
60
61
62
63
64
65
<html>
<head>
<title>Form</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<h2>Create Account</h2>
<div class="card">
<a class="box left" href="#">
<img src="image/google.png" class="logo-image" />
<span>Sign up with Google</span>
</a>
<a class="box right" href="#">
<img src="image/facebook.png" class="logo-image" />
<span>Sign up with Facebook</span>
</a>
</div>
<span class="middle-text">OR</span>
<div class="form-container">
<form id="signupForm" action="login.html">
<input
type="text"
id="username"
placeholder="Username"
onblur="validateUsername()"
/>
<span class="error-message" id="username-error"></span>
<input
type="email"
id="email"
placeholder="Email"
onblur="validateEmail()"
/>
<span class="error-message" id="email-error"></span>
<input
type="password"
id="password"
placeholder="Password"
onblur="validatePassword()"
/>
<span class="error-message" id="password-error"></span>
<input
type="password"
id="confirm-password"
placeholder="Confirm Password"
onblur="validateConfirmPassword()"
/>
<span class="error-message" id="confirm-password-error"></span>
<button type="submit" id="submit">Create Account</button>
<p>Already have an account? <a href="login.html">Login</a></p>
</form>
</div>
</div>
<script src="index.js"></script>
</body>
</html>