...

/

Solution Review: Event Bubbling

Solution Review: Event Bubbling

In this lesson, we will discuss the solution to the quiz in the previous lesson.

Question: Solution review #

In the previous lesson you had to figure out the console output of the following code upon clicking the button:

Explanation #

Run the code below to see the output:

Console

From the output, you can tell that Option D is the correct answer. Let’s discuss why.

As you can see, every time you click the button, Button is clicked ...

Access this course and 1400+ top-rated courses and projects.