console.log("Brrrr");; let counter = 0; function getInputValue() { // Selecting the input element and get its value let inputVal = document.getElementById("inputId").value; // Displaying the value alert(inputVal); } // Button func function moveOnEnable(){ const button = document.querySelector(".btn"); button.classList.remove('disabled'); button.setAttribute('aria-disabled', false); console.log("done"); counter = 0; }