Accessing the DOM6:03 with Guil Hernandez
window object contains a property named
document, which is an object, and it's the entry point into the DOM loaded in the current window. We use the
document object to select and control elements of the web page. This
document object and some of its common properties are what we'll focus on for the rest of this course.
- Document – MDN
- Review this Common CSS Properties Reference to learn what CSS properties look like when converted to camelCase
- Element.remove() – MDN
Style property names with two or more words, like
borderColor are in camelCase. This is different from how you'd write them in CSS with dashes between each word.
You need to sign up for Treehouse in order to download course files.Sign up