how to use innertext in javascript code example
Example 1: js inner text
document.getElementById("text").innerText = "Your new text here"
Example 2: HTML DOM innerText
var x = document.getElementById("myBtn").innerText;
document.getElementById("text").innerText = "Your new text here"
var x = document.getElementById("myBtn").innerText;