Doubt regarding the windows.onload event of JavaScript

0

Hello, I am new in this of HTML , CSS and JavaScript I was watching some tutorials of computer pills: D, and well if I do not have an error when viewing the page in the browser, it appears doubts because in the debugger marks the error.

  

windows is not defined

*

And in the browser, it marks me like this:

I clarify that the doubt is because I only want to understand why in the debugger (from WebStorm of the browsers) this error comes out, it is not that it hinders the functionality because when I click on the paragraphs, the alert window works.

    
asked by Vladimir Joel 30.09.2017 в 17:27
source

0 answers