<h1 id = “example”> page heading</>
choosen_element = document.getElementById(“example”);
choosen_element.innerHTML = “hello world”;
A h1 element is created and tagged as “example”
Then the Java script makes a referent to that element (choosen_element) and changes its html inside the tags to “hello world”