Look at the code given below:
As you can see, the size of the first heading
changed to xx-small as soon as our
web page loaded. In fact, we have no control over when
that change happened.
On the other hand, the size
of the second heading changes
when we click on the buttons.
The control matters!
It doesn't have to
be just clicks though. We can make it, so that when
the user hovers over the headings, their size changes.
Or that the change occurs when the user
presses a certain key on the keyboard.
There are many ways in which we can achieve this.
All these are called events.