-
Notifications
You must be signed in to change notification settings - Fork 43
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
Ampers - Mariko #26
base: master
Are you sure you want to change the base?
Ampers - Mariko #26
Conversation
…ntent view, adds form for making reservation
TREKWhat We're Looking For
I know I didn't get to grade this project on time-- we've talked this through in person. That being said: Oh no Mariko! This project wasn't completed. You were missing
I've also made a few comments on the code style That being said, hopefully things have turned around for you now with JavaScript and APIs. Let me know what questions you have, though. |
index.js
Outdated
const URL = 'https://ada-backtrek-api.herokuapp.com/trips'; | ||
|
||
const reportStatus = (message) => { | ||
$('status-message').html(message); |
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.
This selector $('status-message')
looks for an element <status-message>
... if you wanted the ID of that, you'd use $('#status-message')
index.js
Outdated
}; | ||
|
||
const clearForm = () => { | ||
reservationFromFields.forEach((field) => { |
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.
be mindful... reservationFromFields
used here is different than the reservationFORMFields
you defined up above because spelling... ;)
TREK
Congratulations! You're submitting your assignment!
Comprehension Questions