Answer the question
In order to leave comments, you need to log in
"window is not defined" in the included js script. How to get rid of the error in the IDE?
I connect the script to the html page:
Everything works, but the IDE swears
window.onload = function () {...}
window is not defined at script.js:1:0
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question