var input = document.getElementById("wordTyped");
input.onclick = setInterval(countdown, 1000);
function countdown() {
console.log("test");
}
There are questions like this, but their problem is because they include "()" when calling the function. Mine don't and still the event runs automatically without the mouse clicking on the input element, did my searching and still can get any insight to this issue