Click on the items above to verify that their onclick handlers are attached.
Then click on the button below to add a new item to the list and see if it has an onclick handler.

Check to see that the new item does NOT have the onclick event handler.

Now we repeat this with event delegation.
Here is the button to add to the list with event delegation:

Check to see that the new item does NOT have the onclick event handler.