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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions Easy/Bhagyashree_Task1/Login and Signup/login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div class="form-container">
<h2>Login</h2>
<form action="#" method="POST">
<div class="input-group">
<input type="text" placeholder="Username" required>
</div>
<div class="input-group">
<input type="password" placeholder="Password" required>
</div>
<button type="submit" class="btn">Login</button>
<p class="switch-form">Don't have an account? <a href="signup.html">Sign Up</a></p>
</form>
</div>
</div>
</body>
</html>
31 changes: 31 additions & 0 deletions Easy/Bhagyashree_Task1/Login and Signup/signup.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sign Up</title>
<link rel="stylesheet" href="style.css">
</head>
<body>


<div class="container">
<div class="form-container">
<h2>Sign Up</h2>
<form action="#" method="POST">
<div class="input-group">
<input type="text" placeholder="Username" required>
</div>
<div class="input-group">
<input type="email" placeholder="Email" required>
</div>
<div class="input-group">
<input type="password" placeholder="Password" required>
</div>
<button type="submit" class="btn">Sign Up</button>
<p class="switch-form">Already have an account? <a href="login.html">Login</a></p>
</form>
</div>
</div>
</body>
</html>
155 changes: 155 additions & 0 deletions Easy/Bhagyashree_Task1/Login and Signup/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family:cursive;
background-image:url('bg.jpg.jpg');
background-size: cover;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}


.container {
display: flex;
justify-content:center;
align-items:center;
min-height: 100%;
margin-left:-500px;


}

.form-container {
background:transparent ;
padding: 60px;
border-radius: 20px;
box-shadow: 0 10px 100px rgba(251, 251, 251, 0.1);
text-align: center;
width: 350px;

}

h2 {
margin-bottom: 20px;
font-size: 30px;
color: #eae1e1;
}

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

.input-group input {
width: 100%;
padding: 10px;
border: 2px solid #ccc;
border-radius: 4px;
font-size: 16px;
transition: all 0.3s ease;
}

.input-group input:focus {
border-color: #0e4657;
outline: none;
}

.btn {
background-color: #b8aeb0;
border: none;
padding: 12px 20px;
color: rgb(16, 17, 17);
font-size: 18px;
width: 100%;
cursor: pointer;
border-radius: 4px;
transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn:hover {
transform: scale(1.05);
background-color: #a2e9f1;
}

.switch-form {
margin-top: 15px;
font-size: 18px;
color:rgb(205, 123, 238);
}

.switch-form a {
color: #469be0;
text-decoration: none;
transition: color 0.3s ease;
}

.switch-form a:hover {
color: #928f85;
}

form {
display: flex;
flex-direction: column;
}
@media (max-width: 768px) {
.container {
margin-left: 0;
justify-content: center;
padding: 20px;
}

.form-container {
width: 200%;
padding: 50px;
}

h2 {
font-size: 30px;
}

.input-group input {
font-size: 18px;
}

.btn {
font-size: 18px;
}

.switch-form {
font-size: 14px;
}
}

@media (max-width: 480px) {
.form-container {
width: 90%;
padding: 30px;
}

h2 {
font-size: 20px;
}

.input-group input {
font-size: 12px;
}

.btn {
font-size: 14px;
}

.switch-form {
font-size: 10px;
}
}






Loading