loading...
Cover image for Javascript Interview: Event Bubbling and Capturing

Javascript Interview: Event Bubbling and Capturing

comscience profile image kapeel kokane ・1 min read

Hey fellow devs!

Having conducted interviews for Javascript developers over the past several years, I am now starting a new playlist series on my YouTube channel focussed on Javascript interviews for beginner developers. In this series, we would focus on how things actually work and also look at specific keywords that interviewers look for in the answers to these questions.

Event Bubbling and Capturing

In this video, we look into the important concept of Event Propogation. We explore how a simple event like a button click which is placed inside of multiple divs, triggers the various event handlers on all those divs. While doing the same, we come accross the two phases of propogation i.e. bubbling and capturing.

Hope that helps!

Discussion

pic
Editor guide