Skip to content

Instantly share code, notes, and snippets.

@stevebrownlee
Created January 31, 2024 21:12
Show Gist options
  • Save stevebrownlee/72f736cb1bedd90c12bd0944ba6372eb to your computer and use it in GitHub Desktop.
Save stevebrownlee/72f736cb1bedd90c12bd0944ba6372eb to your computer and use it in GitHub Desktop.
Relfections questions for Brewed Awakenings
  1. What are the ramification of having an invalid value for a foreign key?
  2. If you replaced the word "click" with the word "change" in your event listeners, what would happen?
  3. Can you clearly articulate how an event listener works in the browser? If so, write it down and explain during your vocab review. If you can't use Google or GenAI to deepen your understanding.
  4. Why do you need the if statement in each of your event listeners?
  5. Why is it important to have a foreign key on the Order objects instead of storing the word "Coffee" or "Cookie"?
  6. Can you explain what the value of event.target is?
  7. What is the purpose of the return database.orders => (order => ({...order}), instead of just doing return database.orders?
  8. Can you explain what caused the cannot read properties of undefined yada yada when you first ran the project?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment