- Using the existing form, your goal is to generate a shopping list.
- Dynamically generate the list by appending
li
elements to the#myList
element
- User fills out the form
- User clicks the "Make My List" button
- Items from the form populate the list
- This would be a good use case for using
querySelector
andquerySelectorAll
- Think about using a
forEach()
loop on theinput
elements - You'll want to add an event listener for the button element
- Think about using a function to generate the list (perhaps the button click could call this function?? 🤔🤔🤔)