var x = document.getElementById("myBtn").innerText;
document.getElementById("heading").innerText='';
var text = document.querySelector('#text').innerText; //'#':id '.':class