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
Binary file added Easy/Shreya_Kashikar_Task1/image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions Easy/Shreya_Kashikar_Task1/login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login page</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="box">
<h2>Login</h2>
<form>
<input type="text" name="username" placeholder="Username" required>
<input type="password" id="login-password" name="password" placeholder="Password" required>
<button type="submit" class="btn">Login</button>
</form>
<p>Don't have an account?<a href="signup.html">Signup here</a></p>
</div>
</body>
</html>
21 changes: 21 additions & 0 deletions Easy/Shreya_Kashikar_Task1/signup.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Signup page</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="box">
<h2>Signup</h2>
<form>
<input type="text" id="login-password" name="Username" placeholder="Username" required>
<input type="email" id="login-email" name="email" placeholder="Email" required>
<input type="password" id="login-password" name="password" placeholder="Password" required>
<button type="submit" class="btn">Login</button>
</form>
<p>Already have an account?<a href="login.html">Login here</a></p>
</div>
</body>
</html>
95 changes: 95 additions & 0 deletions Easy/Shreya_Kashikar_Task1/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: sans-serif;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;

background-image: url("image.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}

.box {
position: absolute;
background-color: #fff;
display: flex;
padding: 30px;
border-radius: 50%;
box-shadow: 0 4px 15px rgba(139, 222, 242, 0.982);
width: 460px;
height: 460px;
text-align: center;
justify-content: center;
align-items: center;
flex-direction: column;
flex-wrap: wrap;
}

.box h2 {
margin-bottom: 20px;
color: #1f0202;
font-weight: bold;
}

form {
display: flex;
flex-direction: column;
gap: 15px;
}

input {
padding: 10px;
font-size: 16px;
border: 1px solid #ddd;
border-radius: 4px;
transition: border-color 0.3s ease;
}


button[type="submit"] {
padding: 10px;
background-color: #1f0202;
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
background-color: #dd8e16;
}

p {
font-size: 16px;
margin-top: 15px;
color: #1f0202;
}

a {
color: #dd8e16;
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

@media(max-width: 600px){
.box{
width: 410px;
height: 410px;
}
input,p,button[type="submit"]{
font-size: 14px;
}
}