-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'Main' into Day-104-Periodic-Table-Added
- Loading branch information
Showing
29 changed files
with
5,571 additions
and
342 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Forgot Password</title> | ||
<style type="text/css"> | ||
/* General Reset */ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
font-family: 'Poppins', sans-serif; | ||
} | ||
|
||
body { | ||
background: linear-gradient(135deg, #4a90e2, #1abc9c); | ||
height: 100vh; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
color: #fff; | ||
} | ||
|
||
/* Forgot Password Container */ | ||
.forgot-password-container { | ||
background: rgba(255, 255, 255, 0.1); | ||
padding: 30px; | ||
border-radius: 10px; | ||
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); | ||
width: 100%; | ||
max-width: 400px; | ||
text-align: center; | ||
} | ||
|
||
.form-wrapper h1 { | ||
font-size: 2rem; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.form-wrapper p { | ||
font-size: 1rem; | ||
margin-bottom: 20px; | ||
} | ||
|
||
/* Form Inputs */ | ||
form { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
label { | ||
text-align: left; | ||
margin-bottom: 8px; | ||
font-size: 0.9rem; | ||
} | ||
|
||
input[type="email"] { | ||
padding: 12px; | ||
border-radius: 5px; | ||
border: none; | ||
margin-bottom: 20px; | ||
outline: none; | ||
font-size: 1rem; | ||
background: rgba(255, 255, 255, 0.8); | ||
color: #333; | ||
} | ||
|
||
input[type="email"]:focus { | ||
background: #fff; | ||
border: 2px solid #4a90e2; | ||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
/* Submit Button */ | ||
.submit-button { | ||
padding: 12px; | ||
border: none; | ||
border-radius: 5px; | ||
background: #9013fe; | ||
color: #fff; | ||
font-size: 1rem; | ||
font-weight: bold; | ||
cursor: pointer; | ||
transition: all 0.3s ease-in-out; | ||
} | ||
|
||
.submit-button:hover { | ||
background: #4a90e2; | ||
transform: scale(1.05); | ||
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3); | ||
} | ||
|
||
/* Responsiveness */ | ||
@media (max-width: 480px) { | ||
.forgot-password-container { | ||
padding: 20px; | ||
} | ||
|
||
.form-wrapper h1 { | ||
font-size: 1.5rem; | ||
} | ||
|
||
.form-wrapper p { | ||
font-size: 0.9rem; | ||
} | ||
} | ||
|
||
</style> | ||
|
||
</head> | ||
<body> | ||
<div class="forgot-password-container"> | ||
<div class="form-wrapper"> | ||
<h1>Forgot Password</h1> | ||
<p>Enter your registered email address to reset your password.</p> | ||
<form id="forgot-password-form"> | ||
<label for="email">Email Address</label> | ||
<input type="email" id="email" placeholder="Enter your email" required> | ||
<button type="submit" class="submit-button">Send Reset Link</button> | ||
</form> | ||
</div> | ||
</div> | ||
|
||
<script> | ||
document.getElementById('forgot-password-form').addEventListener('submit', function (e) { | ||
e.preventDefault(); | ||
const email = document.getElementById('email').value; | ||
|
||
if (email) { | ||
alert(`Password reset link has been sent to ${email}`); | ||
document.getElementById('email').value = ''; // Clear input field | ||
} else { | ||
alert('Please enter a valid email address!'); | ||
} | ||
}); | ||
|
||
|
||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.