get inner html js code example
Example 1: javascript innerhtml
document.getElementById("example").innerHTML = "Paragraph changed!";
Example 2: inner content
document.getElementById("myBtn").textContent;
document.getElementById("myBtn").innerHTML;
document.getElementById("myBtn").innerText;
// js dont have innerContent