So now we know how to create webpages, add content to them and style the page. Now it’s time to learn how to change things on the page. And we do that with JavaScript. JavaScript is a programming language that resides in the browser, and it’s how things move, appear, disappear and do other things on the page. Today, we’ll learn about the Document Object Model and how to get and change elements.



  • :22 — What is the DOM?
  • :56 — Getting an Element on the Page
  • 1:57 — Changing an Element in JavaScript
  • 2:38 — Printing a Copyright
  • 3:14 — Changing HTML Attributes in JavaScript
  • 3:48 — Changing CSS in JavaScript