how to write data in javascript inner html. code example Example: javascript innerhtml document.getElementById("example").innerHTML = "Paragraph changed!";