Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions Easy/Sahil desai/forgot.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!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>
<link rel="stylesheet" href="style4.css">
</head>
<body>
<div class="container">
<h2>Forgot Password</h2>
<p>Please enter your email address to receive a password reset link.</p>
<form action="reset-password.php" method="POST">
<div class="input-group">
<label for="email">Email</label>
<input type="email" id="email" name="email" placeholder="Enter your email" required>
</div>
<button type="submit" class="btn">Send Reset Link</button>
<p>Remember your password? <a href="index.html">Login here</a></p>
</form>
</div>
</body>
</html>
37 changes: 37 additions & 0 deletions Easy/Sahil desai/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LOGIN/SIGN UP FORM</title>
<link rel="stylesheet" href="style2.css">
</head>
<body>
<div class="login-box">
<form action="">
<h2>LOGIN</h2>
<br>
<div class="input-box">
<input type="text" required placeholder="">
<label for="">Username</label>
</div>
<br>
<div class="input-box">
<input type="password" required placeholder="">
<label for="">Password</label>
</div>
<br>
<div class="forgot">
<a href="forgot.html">Forgot Password?</a>
</div>
<br>
<button type="submit">Login</button>
<br>
<br>
<div class="newlog">
<p>Don't have an account?<a href="signup.html">create account</a></p>
</div>
</form>
</div>
</body>
</html>
34 changes: 34 additions & 0 deletions Easy/Sahil desai/signup.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sign Up Page</title>
<link rel="stylesheet" href="style3.css">
</head>
<body>
<div class="container">
<h2>Create an Account</h2>
<form action="signup-process.php" method="POST">
<div class="input-group">
<label for="username">Username</label>
<input type="text" id="username" name="username" placeholder="Enter your username" required>
</div>
<div class="input-group">
<label for="email">Email</label>
<input type="email" id="email" name="email" placeholder="Enter your email" required>
</div>
<div class="input-group">
<label for="password">Password</label>
<input type="password" id="password" name="password" placeholder="Enter your password" required>
</div>
<div class="input-group">
<label for="confirm-password">Confirm Password</label>
<input type="password" id="confirm-password" name="confirm-password" placeholder="Confirm your password" required>
</div>
<button type="submit" class="btn">Sign Up</button>
<p>Already have an account? <a href="index.html">Login here</a></p>
</form>
</div>
</body>
</html>
130 changes: 130 additions & 0 deletions Easy/Sahil desai/style2.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Arial', sans-serif;
background: linear-gradient(135deg, #6a11cb, #2575fc); /* Gradient background */
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}

/* Main Login Box */
.login-box {
background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent background */
padding: 40px;
border-radius: 15px;
width: 320px;
text-align: center;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Heading Styling */
h2 {
font-size: 28px;
margin-bottom: 20px;
font-weight: 600;
color: #333;
}

/* Input Fields Styling */
.input-box {
position: relative;
margin-bottom: 20px;
}

.input-box input {
width: 100%;
padding: 10px;
padding-left: 40px;
border-radius: 25px;
border: 1px solid #ccc;
outline: none;
font-size: 16px;
background-color: #f4f4f4;
transition: all 0.3s ease;
}

.input-box input:focus {
border: 2px solid #2575fc;
background-color: #fff;
}

.input-box label {
position: absolute;
left: 40px;
top: 12px;
font-size: 14px;
color: #888;
pointer-events: none;
transition: all 0.3s ease;
}

.input-box input:focus + label,
.input-box input:not(:placeholder-shown) + label {
top: -10px;
font-size: 12px;
color: #2575fc;
}

/* Icons inside input fields */
.input-box i {
position: absolute;
left: 12px;
top: 50%;
transform: translateY(-50%);
color: #888;
font-size: 18px;
}

/* Forgot Password Link */
.forgot {
text-align: right;
font-size: 12px;
margin-bottom: 20px;
}

.forgot a {
color: #2575fc;
text-decoration: none;
}

.forgot a:hover {
text-decoration: underline;
}

/* Submit Button */
button {
width: 100%;
padding: 12px;
background-color: #2575fc;
color: white;
border: none;
border-radius: 25px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s ease;
}

button:hover {
background-color: #1d63d0;
}

/* New Account Link */
.newlog {
margin-top: 20px;
font-size: 14px;
}

.newlog a {
color: #2575fc;
text-decoration: none;
}

.newlog a:hover {
text-decoration: underline;
}
81 changes: 81 additions & 0 deletions Easy/Sahil desai/style3.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}

.container {
background-color: white;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
width: 300px;
}

h2 {
text-align: center;
margin-bottom: 20px;
color: #333;
}

.input-group {
margin-bottom: 15px;
}

.input-group label {
display: block;
margin-bottom: 5px;
color: #333;
}

.input-group input {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 14px;
}

.input-group input:focus {
border-color: #4CAF50;
outline: none;
}

.btn {
width: 100%;
padding: 10px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
}

.btn:hover {
background-color: #45a049;
}

p {
text-align: center;
margin-top: 10px;
font-size: 14px;
}

a {
text-decoration: none;
color: #4CAF50;
}

a:hover {
text-decoration: underline;
}
71 changes: 71 additions & 0 deletions Easy/Sahil desai/style4.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
display: flex;
border-color: #333;
justify-content: center;
align-items: center;
height: 100vh;
}

.container {
background-color: white;
border-color: #333;
border-width: medium;
border-block-style: ;
padding: 30px;
border-radius: 8px;
width: 300px;
text-align: center;
}

h2 {
margin-bottom: 20px;
color: #333;
}

p {
margin-bottom: 20px;
font-size: 14px;
color: #555;
}

.input-group {
margin-bottom: 15px;
}

.input-group label {
display: block;
margin-bottom: 5px;
color: #333;
}

.input-group input {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 14px;
}

.input-group input:focus {
border-color: #4CAF50;
outline: none;
}

.btn {
width: 100%;
padding: 10px;
background-color: #4CAF50;
color: white;
border: none;
border-radius: 4px;
font-size: 16px;
}

Empty file added Easy/task 1-Sahil
Empty file.