Skip to content

Commit

Permalink
hide unnecessary fields
Browse files Browse the repository at this point in the history
  • Loading branch information
stazrouti committed Sep 19, 2024
1 parent a84e683 commit f78246a
Showing 1 changed file with 19 additions and 8 deletions.
27 changes: 19 additions & 8 deletions src/components/BookCar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ function BookCar() {
setDropTime(e.target.value);
};


// based on value name show car img
/* let imgUrl;
switch (carImg) {
Expand Down Expand Up @@ -424,8 +423,20 @@ function BookCar() {
></input>
<p className="error-modal">This field is required.</p>
</span>

<span>
<label>
Email <b>*</b>
</label>
<input
value={email}
onChange={handleEmail}
type="email"
placeholder="Enter your email address"
></input>
<p className="error-modal">This field is required.</p>
</span>

{/* <span>
<label>
Age <b>*</b>
</label>
Expand All @@ -436,11 +447,11 @@ function BookCar() {
placeholder="18"
></input>
<p className="error-modal ">This field is required.</p>
</span>
</span> */}
</div>

<div className="info-form__1col">
<span>
{/* <span>
<label>
Email <b>*</b>
</label>
Expand All @@ -452,7 +463,7 @@ function BookCar() {
></input>
<p className="error-modal">This field is required.</p>
</span>

*/}
<span>
<label>
Address <b>*</b>
Expand All @@ -465,9 +476,9 @@ function BookCar() {
></input>
<p className="error-modal ">This field is required.</p>
</span>
</div>
</div>

<div className="info-form__2col">
{/* <div className="info-form__2col">
<span>
<label>
City <b>*</b>
Expand All @@ -493,7 +504,7 @@ function BookCar() {
></input>
<p className="error-modal ">This field is required.</p>
</span>
</div>
</div> */}

<span className="info-form__checkbox">
<input type="checkbox"></input>
Expand Down

0 comments on commit f78246a

Please sign in to comment.