Learn HTML DOM
Browser Events
5.2 - Ex 1
Exercise

Listening to Browser Events

When someone clicks on the h2 element, the text inside it should change to This text was clicked ✅.

Use the addEventListener method to achieve this.