tracks

Sign In Sign Up
1/13
The Document Object Model & jQuery
The Document

The Document Object Model (DOM) is the backbone of every webpage. A web browser parses HTML and Javascript and maintains a data model of what should be displayed to the user.

To start to understand the DOM, we will begin with the document object. This object contains a hierarchy of all the contents of the web page -- text, images, links, etc. We can access this object in Javascript using the document keyword.

Instructions

Go ahead and type document.

index.html
script.js
Back to Editor

Sign in