Skip to content

Commit 1e77bbe

Browse files
committed
loginfileadded
1 parent 1da9bc8 commit 1e77bbe

File tree

1 file changed

+76
-0
lines changed

1 file changed

+76
-0
lines changed

login.html

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<title>Login Form</title>
7+
<style>
8+
body {
9+
font-family: Arial, sans-serif;
10+
display: flex;
11+
justify-content: center;
12+
align-items: center;
13+
height: 100vh;
14+
margin: 0;
15+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
16+
}
17+
.login-container {
18+
background: white;
19+
padding: 40px;
20+
border-radius: 8px;
21+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
22+
width: 300px;
23+
}
24+
h1 {
25+
text-align: center;
26+
color: #333;
27+
}
28+
.form-group {
29+
margin-bottom: 20px;
30+
}
31+
label {
32+
display: block;
33+
margin-bottom: 5px;
34+
color: #555;
35+
}
36+
input[type="text"],
37+
input[type="password"] {
38+
width: 100%;
39+
padding: 10px;
40+
border: 1px solid #ddd;
41+
border-radius: 4px;
42+
box-sizing: border-box;
43+
}
44+
button {
45+
width: 100%;
46+
padding: 10px;
47+
background-color: #667eea;
48+
color: white;
49+
border: none;
50+
border-radius: 4px;
51+
cursor: pointer;
52+
font-size: 16px;
53+
}
54+
button:hover {
55+
background-color: #764ba2;
56+
}
57+
</style>
58+
</head>
59+
<body>
60+
<div class="login-container">
61+
<h1>Login</h1>
62+
<form id="loginForm">
63+
<div class="form-group">
64+
<label for="username">Username:</label>
65+
<input type="text" id="username" name="username" required>
66+
</div>
67+
<div class="form-group">
68+
<label for="password">Password:</label>
69+
<input type="password" id="password" name="password" required>
70+
</div>
71+
<button type="submit">Login</button>
72+
</form>
73+
</div>
74+
<script src="sampleprgm.js"></script>
75+
</body>
76+
</html>

0 commit comments

Comments
 (0)