HTML event attributes are easy to use, but they're a bit outdated and harder to manage for bigger chunks of code.

Attributes make the HTML hard to manage and read even for short code like the one below.

Make sure to pick onclick followed by onclick and then onclick, onclick, onclick.