From 66fa5c8a740a97b79bc5973792b36d071c8fa5b3 Mon Sep 17 00:00:00 2001 From: MuraliDharan7 Date: Thu, 6 Jun 2024 00:13:42 +0530 Subject: [PATCH 1/2] forget password section added --- Css-files/login1.css | 16 +++++++++ Html-files/forget_pass.html | 65 +++++++++++++++++++++++++++++++++++++ Html-files/login.html | 10 ++++++ 3 files changed, 91 insertions(+) create mode 100644 Html-files/forget_pass.html diff --git a/Css-files/login1.css b/Css-files/login1.css index b168d970..d9ffae16 100644 --- a/Css-files/login1.css +++ b/Css-files/login1.css @@ -190,4 +190,20 @@ body * { width: 90%; } } +.forgot-password { + text-align: right; + margin-bottom: 15px; +} + +.forgot-password a { + color: #3bb77e; + text-decoration: none; + font-size: 14px; + font-weight: 500; +} + +.forgot-password a:hover { + text-decoration: underline; +} + diff --git a/Html-files/forget_pass.html b/Html-files/forget_pass.html new file mode 100644 index 00000000..dede9ad8 --- /dev/null +++ b/Html-files/forget_pass.html @@ -0,0 +1,65 @@ + + + + + + + + + + + + Forgot Password + + + +
+ + +
+ + + + + + + + diff --git a/Html-files/login.html b/Html-files/login.html index 459f8712..2efba29d 100644 --- a/Html-files/login.html +++ b/Html-files/login.html @@ -41,6 +41,9 @@

LOGIN

+
+ Forgot Password? +

OR
@@ -95,6 +98,13 @@

alert("Form submitted successfully!"); } } + document.querySelector('.forgot-password a').addEventListener('click', function(event) { + event.preventDefault(); + // Implement the functionality here, e.g., open a modal or redirect to a password recovery page + alert("Redirecting to password recovery page..."); + window.location.href = 'forget_pass.html'; // Change this to the actual URL +}); + From 988a1ad8c34450f6b1fbea0439c5b72fd32e3456 Mon Sep 17 00:00:00 2001 From: MuraliDharan7 Date: Thu, 6 Jun 2024 00:15:47 +0530 Subject: [PATCH 2/2] forgetpassword file is linked --- Html-files/login.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Html-files/login.html b/Html-files/login.html index 2efba29d..7f29f09e 100644 --- a/Html-files/login.html +++ b/Html-files/login.html @@ -42,7 +42,7 @@

LOGIN