should I use innerHTML to write html in javascript code example
Example: javascript innerhtml
document.getElementById("example").innerHTML = "Paragraph changed!";
document.getElementById("example").innerHTML = "Paragraph changed!";