Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Milind #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
33 changes: 32 additions & 1 deletion question 1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,37 @@

<body>
<!-- Write Your Code Here -->
<div class="container">
<form>
<div class="form-group">
<label for="name" class="form-label">Name:</label>
<input type="text" id="name" class="form-input" name="name" required>
</div>

<div class="form-group">
<label for="email" class="form-label">Email:</label>
<input type="email" id="email" class="form-input" name="email" required>
</div>

<div class="form-group">
<label for="phone" class="form-label">Phone:</label>
<input type="tel" id="phone" class="form-input" name="phone" required>
</div>

<div class="form-group">
<label for="address" class="form-label">Address:</label>
<input type="text" id="address" class="form-input" name="address" required>
</div>

<div class="form-group">
<label for="message" class="form-label">Message:</label>
<textarea id="message" class="form-input" name="message" rows="4" required></textarea>
</div>

<button type="submit" class="submit-button">Submit</button>
</form>
</div>

</body>

</html>
</html>
40 changes: 39 additions & 1 deletion question 1/styles.css
Original file line number Diff line number Diff line change
@@ -1,2 +1,40 @@

/* Write Your CSS Here */
/* Write Your CSS Here */ body {
font-family: Arial, sans-serif;
}

.container {
max-width: 400px;
margin: 0 auto;
padding: 20px;
}

.form-group {
margin-bottom: 20px;
}

.form-label {
display: block;
font-weight: bold;
}

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

.submit-button {
background-color: #007bff;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}

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