-
Notifications
You must be signed in to change notification settings - Fork 42
Victoria Garcia - Ampers - Trek #39
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
base: master
Are you sure you want to change the base?
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
beautiful color combination. also, i had no idea fuchsia was spelled like that



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