What if users make a mistake and want to remove a name? Let's add a button to each list item to delete it. We'll also move to a delegated click handler, to allow us to set one handler for all buttons.
13, the statement should read as:
const checkbox = e.target; // vs. `event.target`
Although the video's code will work in Chrome, Edge, and most versions of Safari, it will not work in Firefox. A
Reference Error will be received as
event is not defined.
You need to sign up for Treehouse in order to download course files.Sign up