-
Notifications
You must be signed in to change notification settings - Fork 0
/
signup.html
70 lines (69 loc) · 2.41 KB
/
signup.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
67
68
69
70
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sign Up</title>
<!-- fonts -->
<!-- fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap"
rel="stylesheet"
/>
<!-- styles -->
<link rel="stylesheet" href="./css/bootstrap.min.css" />
<link rel="stylesheet" href="./css/main.css" />
</head>
<body class="main-color-bg">
<!-- sign up -->
<div class="container">
<div class="w-75 m-auto mt-5 main-color-bg p-5 text-center text-white">
<h1 class="main-color fs-3 fw-normal">Smart Login System</h1>
<input
id="name"
type="text"
placeholder="Enter your name"
class="form-control mt-3"
/>
<div class="text-danger mt-2 d-none" id="nameAlert">
Please enter a valid name must start with three chars at least
</div>
<input
id="email"
type="email"
placeholder="Enter your email"
class="form-control mt-3"
/>
<div class="text-danger mt-2 d-none" id="emailAlert">
Please enter a valid email address
</div>
<input
id="password"
type="password"
placeholder="Enter your password"
class="form-control mt-3"
/>
<div class="text-danger mt-2 d-none" id="passwordAlert">
Incorrect password. Must be at least 8 characters with uppercase, number, and special character
</div>
<div class="text-danger mt-2 d-none" id="signupAlert1">
All inputs is required
</div>
<div class="mt-2 d-none" id="signupAlert2">
Success
</div>
<button onclick="addUser()" class="btn btn-outline-info mt-4 mb-3 w-100">Sign Up</button>
<p>
You have an account?
<a class="text-white text-decoration-none" href="index.html"
>Signin
</a>
</p>
</div>
</div>
<script src="./js/bootstrap.bundle.min.js"></script>
<script src="./js/main.js"></script>
</body>
</html>