html dom get p code example
Example: inner content
document.getElementById("myBtn").textContent;
document.getElementById("myBtn").innerHTML;
document.getElementById("myBtn").innerText;
// js dont have innerContent
document.getElementById("myBtn").textContent;
document.getElementById("myBtn").innerHTML;
document.getElementById("myBtn").innerText;
// js dont have innerContent