+ 1
what's an issue on line number 2 ???
7 Answers
+ 4
Davinder Kumar
JS code loads first before html document so document.getElementById("submitBtn") will return null
So write js code inside window.onload function
+ 2
i have finally solved this. thanks you everyone â¤ď¸
+ 1
please tell me here i don't have enough time to find out
+ 1
Davinder,
I don't know whether if I'm the only one who sees the code truncated partially.
I saved your code, this is how it looks from my part
Each code section (HTML, CSS, JS) was cutoff to 500 characters.
https://code.sololearn.com/Wq43fpVYvt7j/?ref=app
+ 1
Ipang no complete code
+ 1
Davinder,
Could this mean a bug? I've seen some codes broken like this for a couple of days ...
0
To solve the problem keep searching in javascript course to find the answer.