let button = document.querySelector('button')
button.addEventListener('click' , function(){
this.classList.toggle('active')
})
let inp = document.querySelector("input");
inp.addEventListener("input", function() {
if (this.value == 0) {
console.log("0 is not supported");
this.value = "";
} else {
console.log(this.value);
}
});