0
friend Please 🙏🙏🙏 help me my code not working .
so tell me me where is Mistake tell me as well as possible with the code https://code.sololearn.com/WXf4csn7BPsT/?ref=app
2 Answers
+ 3
There is actually a spelling mismatch which is causing error.
Html line 12 : your id is "sapn1"
Javascript line 10 : you are trying to get "span1" which doesn't exist so it returns null.
Fix spelling and it would work :)
0
thanks 😊😊😊😎 so much