- Create a render function
- Attach an event handler to a DOM element
- Use a form to collect information
- Handle bubbling events
- Explain what events are
- Describe why events are useful
- Create a render function in https://github.com/gSchool/dom-events
- Attach an event handler to the button, and have it add an item to the list
- Wrap the input tag and and button in a form
- As a table describe why using a form is useful
- What do you use to prevent the form from submitting?
- Add an id attribute to each list item
- Add a delete button to each list item
- Add an event handler on the
ul
to handle deletion
- With your table, define event handlers
- With your table, explain why event handlers are useful