forked from vishantrathi/woolconnect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsignup.html
81 lines (77 loc) · 3.42 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
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html lang="en">
<head>
<script src="script.js"></script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sign Up</title>
<link rel="stylesheet" href="signup.css">
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
</head>
<body>
<div class="container">
<div class="nav">
<a href="#" class="logo"><img src="./images/DALL·E 2023-09-11 20.54.30 - Make exact like this image.png" alt="logo" height="100px" width="100px"></a>
<form action="signup.php" method="post">
<h2>Sign Up</h2>
<div class="form-group">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
</div>
<div class="form-group">
<label for="surname">Surname:</label>
<input type="text" id="surname" name="surname" required>
</div>
<div class="form-group">
<label for="phone">Phone Number:</label>
<input type="tel" id="phone" name="phone" required>
</div>
<div class="form-group">
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
</div>
<div class="form-group">
<label for="State and City">State and City:</label>
<select onchange="print_city('state', this.selectedIndex);" id="sts" name="stt" class="form-control" required></select>
<select id="state" class="form-control" required></select>
<script language="javascript">print_state("sts");</script>
</div>
<div class="form-group">
<label for="password">Password:</label>
<input type="password" id="password" name="password" required>
<input type="checkbox" id="show-password" onclick="togglePassword()"> Show Password
</div>
<div class="form-group">
<label for="confirm-password">Confirm Password:</label>
<input type="password" id="confirm-password" name="confirm-password" required>
<input type="checkbox" id="show-confirm-password" onclick="toggleConfirmPassword()"> Show Password
</div>
<div class="form-group">
<input type="checkbox" id="agree" name="agree" required>
<label for="agree">I agree to our <a href="Trems and service.html" target="_blank">Terms and Services</a></label>
</div>
<div class="form-group">
<button type="submit" class="signup-btn">Sign Up</button>
</form>
</div>
<script>
function togglePassword() {
var passwordField = document.getElementById("password");
if (passwordField.type === "password") {
passwordField.type = "text";
} else {
passwordField.type = "password";
}
}
function toggleConfirmPassword() {
var confirmPasswordField = document.getElementById("confirm-password");
if (confirmPasswordField.type === "password") {
confirmPasswordField.type = "text";
} else {
confirmPasswordField.type = "password";
}
}
</script>
<script src="signup.js"></script>
</body>
</html>