//I am trying change text after click on it in web page
text = document.querySelector(".text");
text.addEventListener("click", changeText=()=> {
text = document.textContent = "NewText";
});
But it is not working. Why? I have try to use innerHTML? but it isnot working yet...