Шутка проверьте, отключена ли кнопка
const buttonState = document.getElementById("btn").disabled
// true means it is disabled
John Appleseed
const buttonState = document.getElementById("btn").disabled
// true means it is disabled