Lesson 1, Topic 1
In Progress

JavaScript

One of many JavaScript HTML methods is getElementById().

The example below “finds” an HTML element (with id=”demo”), and changes the element content (innerHTML) to “Hello JavaScript”: