Skip to content

Commit

Permalink
Order page was made user friendly.
Browse files Browse the repository at this point in the history
The checkout page/Oder file was made user friendly, and states were added.
  • Loading branch information
Light13008 committed Oct 25, 2023
1 parent 81e126c commit d963618
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 14 deletions.
9 changes: 5 additions & 4 deletions order.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
h2{
text-align: center;
background-color: black;
background-color: rgb(85, 54, 0);
color: white;
padding: 20px;
margin-top: 10px;
Expand All @@ -9,10 +9,10 @@ h2{
margin-bottom: 1%;
}

.row{
row{
width: 100%;
margin: 0px;
}
}

form{
padding: 20px;
Expand Down Expand Up @@ -96,4 +96,5 @@ body{
}
.hide_as_link :active {
color: #000000;
}
}

49 changes: 39 additions & 10 deletions order.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,33 +81,62 @@ <h2> Step 1 - My Awesome Cart Express Checkout - Review Your Cart items </h2>
<div class="col my-4">
<h2> Step 2 - Enter Address & Other Details</h2>
<form class="row g-3">
<div class="col-md-6">
<div class="col-md-6" >
<label for="inputEmail4" class="form-label">Name</label>
<input type="text" class="form-control" id="inputEmail4" required>
</div>
</div>
<div class="col-md-6">
<label for="inputphone" class="form-label">Number</label>
<input type="tel" class="form-control" id="inputPassword4" maxlength="10" required>
</div>
<div class="col-12">
<label for="inputAddress" class="form-label">Email Address</label>
<input type="text" class="form-control" id="inputAddress" placeholder="1234 Main St" required>
<input type="email" class="form-control" id="inputAddress" placeholder="email@ServiceProvider.com" required>
</div>
<div class="col-12">
<label for="inputAddress2" class="form-label">Address</label>
<input type="text" class="form-control" id="inputAddress2" placeholder="Apartment, studio, or floor" required>
</div>
<div class="col-md-6">
<label for="inputCity" class="form-label">City</label>
<input type="text" class="form-control" id="inputCity" required>
<input type="text" class="form-control" id="inputAddress2" placeholder="Apartment, studio or floor" required>
</div>

<div class="col-md-4">
<label for="inputState" class="form-label">State</label>
<select id="inputState" class="form-select" required>
<option selected>Choose...</option>
<option>...</option>
<option selected>Select your State</option>
<option>Andhra Pradesh</option>
<option>Arunachal Pradesh</option>
<option>Assam</option>
<option>Bihar</option>
<option>Chhattisgarh</option>
<option>Goa</option>
<option>Gujarat</option>
<option>Haryana</option>
<option>Himachal Pradesh</option>
<option>Jharkhand</option>
<option>Karnataka</option>
<option>Kerala</option>
<option>Madhya Pradesh</option>
<option>Maharashtra</option>
<option>Manipur</option>
<option>Meghalaya</option>
<option>Mizoram</option>
<option>Nagaland</option>
<option>Odisha</option>
<option>Punjab</option>
<option>Rajasthan</option>
<option>Sikkim</option>
<option>Tamil Nadu</option>
<option>Telangana</option>
<option>Tripura</option>
<option>Uttar Pradesh</option>
<option>Uttarakhand</option>
<option>West Bengal</option>
</select>
</div>
<div class="col-md-6">
<label for="inputCity" class="form-label">City</label>
<input type="text" class="form-control" id="inputCity" required>
</div>

<div class="col-12 submit">
<button type="submit" class="btn btn-primary">Order Now</button>
</div>
Expand Down

0 comments on commit d963618

Please sign in to comment.