+ 3
Why my addEventListener() is not working? While the same code is working on onClick() event...
I am feeling like a looser đ.. because everytime I got error when I write something.... Here are the 2 code: https://code.sololearn.com/WtTZiqef4847/?ref=app https://code.sololearn.com/WvLpbP5qY2kr/?ref=app
3 Answers
+ 4
Line 23 - you wrote "click" wrong
+ 2
Thanks for finding my error.đ ... I check all spellings for about more than 20 times ... But I couldn't find my spelling error.. Thank you so much đ Alex Tusinean .. for your help đ
+ 1
There are code linters and online validators for JavaScript. I strongly recommend using them.
Besides finding errors which escape human eyes, they also teach. I learn a lot with them.