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

Added Space between text and input boxes in "Book A Cab" form. #273

Merged
merged 1 commit into from
Oct 8, 2024
Merged
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
42 changes: 25 additions & 17 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ <h3>Romantic Getaway</h3>
>
Book a Cab or Auto
</h2>
<p style="margin-left: 40px; font-size: 1.5em; margin-bottom: 10px">
<p style="margin-left: 40px; font-size: 1.5em; margin-bottom: 30px">
Book a cab or auto with ease
</p>

Expand All @@ -449,66 +449,74 @@ <h3>Romantic Getaway</h3>
"
>
<div>
<label style="font-size: 1.5em" for="pickup-location"
<label style="font-size: 1.5em; margin-right: 15px" for="pickup-location"
>Pickup Location:</label
>
<input
style="height: 29px; width: 200px"
style="height: 29px; width: 200px; padding: 5px;"
type="text"
id="pickup-location"
name="pickup-location"
placeholder="Enter pickup location"
required
/><br /><br />
/>
</div>
<div>
<label style="font-size: 1.5em" for="drop-location"
<div style = "margin-bottom: 20px;">
<label style="font-size: 1.5em; margin-right: 25px" for="drop-location"
>Drop Location:</label
>
<input
style="height: 29px; width: 200px"
style="height: 29px; width: 200px; padding: 5px;"
type="text"
id="drop-location"
name="drop-location"
placeholder="Enter drop location"
required
/><br /><br />
/>
</div>
<div style="display: flex">
<label style="font-size: 1.5em; margin-top: 7px;" for="vehicle-type"
<div style="display: flex; align-items: center; margin-bottom: 20px;">
<label
style="font-size: 1.5em; margin-right: 35px;"
for="vehicle-type"
>Vehicle Type:</label
>
<select id="vehicle-type" name="vehicle-type" style="width: 150px;" required >
<select
id="vehicle-type"
name="vehicle-type"
style="width: 150px; height: 29px; padding: 5px;"
required
>
<option value="cab">Cab</option>
<option value="auto">Auto</option></select
><br /><br />
</div>

<div>
<label style="font-size: 1.5em" for="travel-date"
<div style="margin-bottom: 20px;">
<label style="font-size: 1.5em; margin-right: 35px;" for="travel-date"
>Travel Date:</label
>
<input
style="height: 29px; width: 200px"
style="height: 29px; width: 200px; padding: 5px;"
type="date"
id="travel-date"
name="travel-date"
required
/><br /><br />
</div>

<div>
<label style="font-size: 1.5em" for="travel-time"
<div style="margin-bottom: 20px;">
<label style="font-size: 1.5em; margin-right: 35px;" for="travel-time"
>Travel Time:</label
>
<input
style="height: 29px; width: 200px"
style="height: 29px; width: 200px; padding: 5px;"
type="time"
id="travel-time"
name="travel-time"
required
/><br /><br />
</div>

<button
style="
background-color: #007bff;
Expand Down
Loading