+ 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 odpowiedzi
+ 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.