Hello Clickys,
Thank you for explaining event bubbling and event capturing with an intuitive example. Just noticed that the screenshots for the handler code has console.log('Box-1 is clicked') for all the handlers. Initially, I was confused briefly and then figured it could just be a copy/paste issue. Thanks again for the article.
console.log('Box-1 is clicked')
-Sarath
Thank you for your replied , i just notice your msg not sure why i didnt get notify earlier :) .
It was a copy paste issue thank you so much for mentioning it.
Cheers.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hello Clickys,
Thank you for explaining event bubbling and event capturing with an intuitive example. Just noticed that the screenshots for the handler code has
console.log('Box-1 is clicked')
for all the handlers. Initially, I was confused briefly and then figured it could just be a copy/paste issue. Thanks again for the article.
-Sarath
Thank you for your replied , i just notice your msg not sure why i didnt get notify earlier :) .
It was a copy paste issue thank you so much for mentioning it.
Cheers.