To begin test, open DevTools, select the Elements panel. Expand the Event Listeners
pane in the sidebar.
- Choose the <div id="targetParent"...> element.
You should see the "click" section in the Event Listeners pane. Expand the section to see
the "listenerFunctionParent" function (at "div#targetParent") under it.
- Expand the targetParent node in the tree and choose the <div id="target"...>
element. You should see the "click" section in the Event Listeners pane. Expand the section
to see two functions, "listenerFunctionParent" (at "div#targetParent") and
"listenerFunction" (at "div#target") under it.