element's click event. I also dabble in a lot of other technologies. In cases when a single action initiates multiple events, their order is fixed. You should now know all you need to know about web events at this early stage. In practice this property is very rarely used, you can find details at MDN if you ever need it. The color of our the text turns blue any time the button is clicked: We could take things a little bit further by changing our text to be more colors: So, what we want to do is change the text to blue, green, and orange-red. 2. 1. This example is just like the bubbling example we saw earlier, except that we have used the capture option: In this case, the order of messages is reversed: the
event handler fires first, followed by the