Now it means that the division between the blocks needs to be more clear.
Script is used to write a dynamic page, or so to say, is used to write events.
The meaning of the event is: what kind of reaction will be triggered by different triggers, different things, then the event
Inside the function is to write every event. A function probably corresponds to an event.