how to change a conntet of a div in js code example Example: javascript set text of div document.getElementById("content").innerHTML = "whatever";