Lesson 4 of 4
DOM Introduction
1 min read1 sectionAI tutor ready
The HTML DOM
With the HTML DOM, JavaScript can access and change all the elements of an HTML document.
document.getElementById("demo").innerHTML = "Hello JavaScript!";You've reached the end of this lesson.
Mark it complete to keep your place in the course — it counts toward your progress and your streak.