How Did I Use chatGPT today?
Aug 2, 2023 · 1 min read · 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 ....
Join discussion































