Conversation
…ting a button to request the reservation box are now working, so I guess that's Wave 2.
…tta get that out and into a post request.
| axios.post(reserveTripUrl, reservationData) | ||
| .then((response) => { | ||
| console.log(response); | ||
| reservationScreen.empty(); |
There was a problem hiding this comment.
When I fill out the reservation form correctly to make a reservation, I actually get an unexpected error... that's because reservationScreen is undefined at this point, and it kicks it over to the .catch((error) {}) part.
I fixed it by adding const reservationScreen = $('#reservation-box'); before this line
TREKWhat We're Looking For
Good work on this! The code looks good! I like your approach to using the trip id on It works really well and I like your solution. ALSO I REALLY LIKE YOUR SITE |
| <input type='email' id='email' name='email'><br> | ||
| <label> </label> | ||
| <input type='submit' id='submit-reservation-info' | ||
| value='I hereby commit to unapologetically trekking up my life'><br> |
There was a problem hiding this comment.
You use <br> tags here... which isn't a no-no, it's quite common to use those in forms, but have you considered using css to make them all display: block;?
|
|
||
| .success_message { | ||
| color: fuchsia; | ||
| background-color: khaki; |
There was a problem hiding this comment.
beautiful color combination. also, i had no idea fuchsia was spelled like that



TREK
Congratulations! You're submitting your assignment!
Comprehension Questions