-
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
Ana Lisa Sutheland: Octos C9: Trek #24
base: master
Are you sure you want to change the base?
Conversation
…in a list. Debating styling as I go, or all at once.
…ific occurence of trip display
… to reading values from form for iput
…eted. Clean and styling remaining, but could turn it in barebones as it is
Still working on HTML/CSS interface. But functionality is all there. |
TREKWhat We're Looking For
|
<!-- FIXME: Need to render the form once the trip display has activated a trip display --> | ||
<!-- form to reserve a spot --> | ||
<section id="spot-save"> | ||
<h2>Reserve A Spot!</h2> |
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 might want to look into the CSS display: none
for this.
content += '<ul'; | ||
for (const field in errors) { | ||
for (const problem in errors[field]) { | ||
content += `<li>${field}: ${problem}</li>` |
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.
Since errors[field]
is an array, you probably want for (const problem of errors[field])
. As is you get the indexes, not the strings.
TREK
Congratulations! You're submitting your assignment!
Comprehension Questions