+ 1
What is wrong in this code in class 1? Can you help me?
I'm confused with document.getElementbyId, the "Class 1" in this code didn't work.. It shows "document.getElementbyId is not a function" but in "Class 2" it works fine well. They are the same but what's wrong in this code ?? Can you help me? I am new SoloLearner :) https://code.sololearn.com/WD1x7n652nFl/?ref=app
2 Answers
+ 10
Typo. You should have:
document.getElementById
Not:
document.getElementbyId
+ 2
Ahhh.. I understand now.. Thank you so muchđ