updated the page.

This commit is contained in:
Batuhan Berk Başoğlu 2021-03-10 18:02:01 -05:00
commit 8d853e1d1a
2 changed files with 26 additions and 16 deletions

View file

@ -140,7 +140,7 @@ p {
width: 200px; width: 200px;
height: 200px; height: 200px;
object-fit: cover; object-fit: cover;
} }
@ -253,7 +253,7 @@ input:invalid+span:after {
content: '✖'; content: '✖';
padding-left: 5px; padding-left: 5px;
} }
input:valid+span:after { input:valid+span:after {
position: absolute; position: absolute;
content: '✓'; content: '✓';
@ -268,6 +268,14 @@ input:invalid+span:after {
.social-icon { .social-icon {
margin: 20px 10px; margin: 20px 10px;
} }
.res {
text-align: center;
}
.rec {
text-align: center;
}
@media (max-width: 1028px) { @media (max-width: 1028px) {
#title { #title {
@ -323,4 +331,4 @@ input[type=submit] {
input[type=submit]:hover { input[type=submit]:hover {
background-color: #fa4664; background-color: #fa4664;
} }

View file

@ -31,7 +31,7 @@
<script src="https://code.jquery.com/jquery-1.12.4.js"></script> <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script> <script>
</script> </script>
</head> </head>
@ -378,11 +378,13 @@
<div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordion"> <div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordion">
<div class="card-body"> <div class="card-body">
<h2><i class="far fa-address-book"></i> Contact Information</h2> <h2><i class="far fa-address-book"></i> Contact Information</h2>
<p>Please fill the spaces below with your contact information</p> <p class="res">Please fill the spaces below with your contact information</p>
<form> <form>
<div class="form-group"> <div class="form-group">
<div class="row"> <div class="row">
<div class="col-6" style="float: right;"> <div class="col-6" style="float: right;">
<label for="fnameLabel">First Name</label> <label for="fnameLabel">First Name</label>
<input type="text" id="fname" name="firstname" placeholder="First Name"> <input type="text" id="fname" name="firstname" placeholder="First Name">
</div> </div>
@ -406,7 +408,7 @@
</div> </div>
<hr> <hr>
<h2><i class="fas fa-money-check-alt"></i> Payment Information</h2> <h2><i class="fas fa-money-check-alt"></i> Payment Information</h2>
<p>Please fill the spaces below with your payment information</p> <p class="rec">Please fill the spaces below with your payment information</p>
<div class="form-group"> <div class="form-group">
<div class="row"> <div class="row">
<div class="col-6" style="float: right;"> <div class="col-6" style="float: right;">
@ -414,7 +416,7 @@
<input type="text" id="cardHolder" name="cardHolder" placeholder="Name on the Card"> <input type="text" id="cardHolder" name="cardHolder" placeholder="Name on the Card">
</div> </div>
<div class="col-6"> <div class="col-6">
<label for="creditCardLabel">Credit Card</label> <label for="creditCardLabel">Credit Card</label>
<input type="text" id="creditCard" name="creditCard" placeholder="Credit Card"> <input type="text" id="creditCard" name="creditCard" placeholder="Credit Card">
</div> </div>
</div> </div>
@ -430,7 +432,7 @@
<input type="text" id="expiryDate" name="cvv" placeholder="CVV"> <input type="text" id="expiryDate" name="cvv" placeholder="CVV">
</div> </div>
</div> </div>
</div> </div>
</form> </form>
</div> </div>
@ -453,8 +455,8 @@
<br> <br>
<br> <br>
<input type="submit" value="Submit"> <input type="submit" value="Submit">
</div> </div>
</section> </section>
@ -477,14 +479,14 @@
document.getElementById('appointment').scrollIntoView(); document.getElementById('appointment').scrollIntoView();
} }
var value = 0; var value = 0;
$(function() { $(function() {
$( "#datepicker").datepicker({ beforeShowDay: getAvailability}); $( "#datepicker").datepicker({ beforeShowDay: getAvailability});
}); });
function getMechanic(selectObject) { function getMechanic(selectObject) {
value = selectObject.value; value = selectObject.value;
} }
function getAvailability(date){ function getAvailability(date){
@ -500,12 +502,12 @@
else else
return [ true, "", "" ] return [ true, "", "" ]
} }
</script> </script>
</body> </body>
</html> </html>