Brother, recuerda que no hay nada por encima del window (El profe Álvaro lo ha mencionado varias veces).
e.g. document.body sería prácticamente lo mismo que window.document.body
SI DOCUMENT DESCIENDE DE WINDOW, PODRIA DECIRSE QUE DOCUEMNT PROVIENE DE UN GRADO SUPERIOR, MIENTRAS QE OTROS ELEMENTOS COMO LOS DIVS , SAPN QUE SE ENCUENTREN MAS ABAJO ESOS SI PROVIENEN DE UN NIVEL MAS BAJO
Brother, recuerda que no hay nada por encima del window (El profe Álvaro lo ha mencionado varias veces).
e.g. document.body sería prácticamente lo mismo que window.document.body
SI DOCUMENT DESCIENDE DE WINDOW, PODRIA DECIRSE QUE DOCUEMNT PROVIENE DE UN GRADO SUPERIOR, MIENTRAS QE OTROS ELEMENTOS COMO LOS DIVS , SAPN QUE SE ENCUENTREN MAS ABAJO ESOS SI PROVIENEN DE UN NIVEL MAS BAJO
Brother, recuerda que no hay nada por encima del window (El profe Álvaro lo ha mencionado varias veces).
e.g. document.body sería prácticamente lo mismo que window.document.body
SI DOCUMENT DESCIENDE DE WINDOW, PODRIA DECIRSE QUE DOCUEMNT PROVIENE DE UN GRADO SUPERIOR, MIENTRAS QE OTROS ELEMENTOS COMO LOS DIVS , SAPN QUE SE ENCUENTREN MAS ABAJO ESOS SI PROVIENEN DE UN NIVEL MAS BAJO