From the course: The DOM in JavaScript, jQuery, AngularJS, and React
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Window object
From the course: The DOM in JavaScript, jQuery, AngularJS, and React
Window object
- [Instructor] Sometimes, you want to be able to interact with the web browser window because the window object has some very resourceful properties and methods that the document object cannot provide. So, think of the window object as the superglue object which contains many other objects, including the web document object, which contains the web page, and others, for example, things like the history object, which contains the pages where the user came from, the navigator object, which is determined the type of browser you're using, and other important functions, including opening and closing windows, and so on. So, the window is a very special object because it represents the entire window. It is that window, so a tab on the browser window, it is a window as well, so that is why it's important to explore some of these important features about window, so let's look at some of these properties and methods and see how you can use them to your advantage. This right here, at the practice…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Developer tools7m 12s
-
(Locked)
What is the DOM?5m 18s
-
(Locked)
The DOM tree5m 59s
-
(Locked)
nodeType and nodeName properties7m 17s
-
(Locked)
The Node interface10m 50s
-
(Locked)
The Document object12m 8s
-
(Locked)
The Document methods10m 27s
-
(Locked)
Element objects10m 24s
-
(Locked)
Modifying text in the DOM9m 16s
-
(Locked)
Event objects11m 54s
-
(Locked)
Window object6m 56s
-
(Locked)
CSS properties and the DOM13m 50s
-
(Locked)
Traversing the DOM tree10m 18s
-
-
-
-
-
-