document.getElemntById code example
Example 1: getelementbyid
document.getElementById("someid");
Example 2: document.getElementById example
document.getElementById("demo").innerHTML = "Hello JavaScript";
document.getElementById("someid");
document.getElementById("demo").innerHTML = "Hello JavaScript";