How Did I Use chatGPT today?

Q: Why is .onclick not typed .onClick in javascript?

A (my words): It's convention. It's the way event handler properties are named. Historic reasons. Consistent with how HTML attributes are named. So just memorize the darn thing!

.onclick

.onclick

.onclick

.onclick

.onclick

.onclick

ugh - (❁´◡`❁)