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
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"files.autoSave": "onFocusChange"
}
26 changes: 26 additions & 0 deletions Easy/Rudrani issue1/Index.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 & Signup</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div class="form-box" id="login">
<h2>Login</h2>
<form>
<div class="input-box">
<input type="email" placeholder="Email" required>
</div>
<div class="input-box">
<input type="password" placeholder="Password" required>
</div>
<button type="submit">Login</button>
<p>Don't have an account? <a href="index2.html">Sign up</a></p>
</form>
</div>
</div>
</body>
</html>
29 changes: 29 additions & 0 deletions Easy/Rudrani issue1/index2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login & Signup</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<div class="form-box" id="signup">
<h2>Signup</h2>
<form>
<div class="input-box">
<input type="email" placeholder="Email" required>
</div>
<div class="input-box">
<input type="password" placeholder="Password" required>
</div>
<div class="input-box">
<input type="password" placeholder="confirm password" required>
</div>
<button type="submit">Sign Up</button>
<p>Already have an account? <a href="Index.html">Login</a></p>
</form>
</div>
</div>
</body>
</html>
Binary file added Easy/Rudrani issue1/login bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 70 additions & 0 deletions Easy/Rudrani issue1/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}

body {
display: flex;
justify-content: center;
align-items: center;
background: url('login bg.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
height: 100vh;
}

.container {
background: white;
border: 1px solid rgba(255, 255, 255, 0.678);
padding: 20px;
border-radius: 10px;
}

.form-box h2 {
margin-bottom: 20px;
text-align: center;
}

.input-box {
text-align: left;
margin-bottom: 15px;
}


.input-box input {
width: 100%;
padding: 8px;
border: 1px solid #ccc;
border-radius: 5px;
}

button {
width: 100%;
padding: 10px;
background-color: #007BFF;
color: white;
border-radius: 5px;
border: none;
cursor: pointer;
}

button:hover {
background-color: #0056b3;
}

p {
margin-top: 10px;
}

p a {
color: #007BFF;
text-decoration: none;
font-weight: bold;
}

p a:hover {
text-decoration: underline;
}