-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
877221d
commit 15074f3
Showing
3 changed files
with
103 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>Flipkart Registration Form</title> | ||
<link rel="stylesheet" href="styles.css"> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<form class="registration-form"> | ||
<h2>Create an account</h2> | ||
<div class="form-group"> | ||
<label for="username">Name</label> | ||
<input type="text" id="username" name="username" required> | ||
</div> | ||
<div class="form-group"> | ||
<label for="email">Email</label> | ||
<input type="email" id="email" name="email" required> | ||
</div> | ||
<div class="form-group"> | ||
<label for="phone">Phone Number</label> | ||
<input type="tel" id="phone" name="phone" required> | ||
</div> | ||
<div class="form-group"> | ||
<label for="password">Password</label> | ||
<input type="password" id="password" name="password" required> | ||
</div> | ||
<div class="form-group"> | ||
<label for="confirm-password">Confirm Password</label> | ||
<input type="password" id="confirm-password" name="confirm-password" required> | ||
</div> | ||
<button type="submit" class="btn">Register</button> | ||
</form> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
body { | ||
font-family: Arial, sans-serif; | ||
background-color: #f5f5f5; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
margin: 0; | ||
} | ||
|
||
.container { | ||
background-color: #fff; | ||
padding: 20px; | ||
border-radius: 8px; | ||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); | ||
width: 100%; | ||
max-width: 400px; | ||
} | ||
|
||
.registration-form h2 { | ||
margin-bottom: 20px; | ||
font-size: 24px; | ||
color: #333; | ||
text-align: center; | ||
} | ||
|
||
.form-group { | ||
margin-bottom: 15px; | ||
} | ||
|
||
.form-group label { | ||
display: block; | ||
margin-bottom: 5px; | ||
color: #333; | ||
} | ||
|
||
.form-group input { | ||
width: 100%; | ||
padding: 10px; | ||
border: 1px solid #ddd; | ||
border-radius: 4px; | ||
box-sizing: border-box; | ||
} | ||
|
||
.form-group input:focus { | ||
border-color: #2874f0; | ||
outline: none; | ||
} | ||
|
||
.btn { | ||
display: inline-block; | ||
width: 100%; | ||
padding: 10px; | ||
background-color: #2874f0; | ||
color: #fff; | ||
border: none; | ||
border-radius: 4px; | ||
font-size: 16px; | ||
cursor: pointer; | ||
text-align: center; | ||
} | ||
|
||
.btn:hover { | ||
background-color: #0056b3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters