+ 5
I'm facing TypeError problem with my code.
I'm getting error in JS, in the console it throwing error. Can anyone help me to solve this. Code link : https://code.sololearn.com/WVyPbblLPnXd/?ref=app
6 Réponses
+ 8
Just put all you js in
window.onload = function(){
//Here
}
Or put your js in script tag in html
+ 5
Big Secret
Gekoda
Thank you so much for the solution.
+ 4
Put it in the script tag in html
Or:
window.onload=function(){
//code here and function in js section
}
+ 3
Ive had same prob before but i figured it out
+ 3
Welcome