China Naming Network - Eight-character fortune telling - What is the js event mechanism?

What is the js event mechanism?

Event stream: refers to the sequence of receiving events from the page, including bubbling stream and capture stream.

When an event occurs in the page (such as mouse click, mouse hover, etc.). ), there is no doubt that both child elements and parent elements will receive events, but what is the specific order? Bubble and capture describe two different sequences.