-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsignup.html
More file actions
87 lines (84 loc) · 4.8 KB
/
Copy pathsignup.html
File metadata and controls
87 lines (84 loc) · 4.8 KB
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
82
83
84
85
86
87
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" href="Images/code.png" title="code icons" type="image/x-icon">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Sign Up - Web Dev Academy</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
</head>
<body>
<nav class="navbar">
<div class="nav-container">
<div class="logo" onclick="location.href='home.html'">Web Dev Academy</div>
<div id="mobileMenuBtn" class="mobile-menu" onclick="toggleMobileMenu()" aria-label="Toggle navigation">
<span class="hamburger-line"></span>
<span class="hamburger-line"></span>
<span class="hamburger-line"></span>
</div>
<div class="nav-links" id="navLinks">
<a href="home.html">Home</a>
<a href="about.html">About</a>
<a href="team.html">Our Team</a>
<a href="login.html" id="loginLink">Login</a>
<a href="signup.html">Sign Up</a>
<a href="contact.html">Contact</a>
<a href="dashboard.html" id="dashboardLink" style="display: none;">Dashboard</a>
<a href="#" onclick="logout()" id="logoutLink" style="display: none;">Logout</a>
</div>
</div>
</nav>
<div class="main-content">
<div class="container">
<div class="page active" id="signupPage">
<div class="auth-container">
<form class="auth-form" onsubmit="handleSignup(event)">
<h2>Sign Up</h2>
<div id="signupMessage"></div>
<div class="form-group">
<label for="signupName">Full Name</label>
<input type="text" id="signupName" required placeholder="Enter your full name">
</div>
<div class="form-group">
<label for="signupUsername">Username</label>
<input type="text" id="signupUsername" required placeholder="Choose a unique username">
</div>
<div class="form-group">
<label for="signupEmail">Email</label>
<input type="email" id="signupEmail" required placeholder="Enter your email">
</div>
<div class="form-group">
<label for="signupPhone">Phone Number</label>
<input type="tel" id="signupPhone" required placeholder="Enter your phone number">
</div>
<div class="form-group">
<label for="signupPassword">Password</label>
<div style="position: relative;">
<input type="password" id="signupPassword" required placeholder="Create a password" style="padding-right: 3rem;">
<button type="button" onclick="togglePassword('signupPassword', this)" style="position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: rgba(0,0,0,0.6); cursor: pointer; font-size: 1rem;">
<i class="fas fa-eye"></i>
</button>
</div>
</div>
<div class="form-group">
<label for="confirmPassword">Confirm Password</label>
<div style="position: relative;">
<input type="password" id="confirmPassword" required placeholder="Confirm your password" style="padding-right: 3rem;">
<button type="button" onclick="togglePassword('confirmPassword', this)" style="position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); background: none; border: none; color: rgba(0,0,0,0.6); cursor: pointer; font-size: 1rem;">
<i class="fas fa-eye"></i>
</button>
</div>
</div>
<button type="submit" class="btn btn-primary" style="width: 100%;">Sign Up</button>
<p style="text-align: center; margin-top: 1rem; color: rgba(0,0,0,0.7);">
Already have an account? <a href="login.html" style="color: #667eea;">Login</a>
</p>
</form>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>