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 ....
mariamidkiff.hashnode.dev1 min readNo responses yet.