Skip to content

Commit 5401e5d

Browse files
Update index.html
1 parent 15db62d commit 5401e5d

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

index.html

+27
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,33 @@ <h2>Login</h2>
154154
</div>
155155
<button type="submit" class="submit-btn">Login</button>
156156
</form>
157+
</section>
158+
<section id="Sign up" class="hidden">
159+
<h2>"join us,sign up!"</h2>
160+
<form id="signup-form">
161+
162+
<label for="name">Name:</label>
163+
<input type="text" id="name" name="name" required><br><br>
164+
<label for="email">Email:</label>
165+
<input type="email" id="email" name="email" required><br><br>
166+
<label for="password">Password:</label>
167+
<input type="password" id="password" name="password" required><br><br>
168+
<label for="confirm-password">Confirm Password:</label>
169+
<input type="password" id="confirm-password" name="confirm-password" required><br><br>
170+
<input type="submit" value="Sign up">
171+
</forrm>
172+
<p>Forget password? <a href="#" id="forget-password-link">Click here</a></p>
173+
<form id="forget-password-form" style="display: none;">
174+
<h2>Forget Password</h2>
175+
<label for="email">Email:</label>
176+
<input type="email" id="email" name="email" required><br><br>
177+
<input type="submit" value="Send Reset Link">
178+
</form>
179+
<script>
180+
document.getElementById('forget-password-link').addEventListener('click', function() {
181+
document.getElementById('forget-password-form').style.display = 'block';
182+
});
183+
</script>
157184
</section>
158185
</main>
159186

0 commit comments

Comments
 (0)