how to edit h1 tag in javasrcipt code example Example: js change h1 value document.getElementById("yourH1_element_Id").innerHTML = "yourTextHere";