diff --git a/script.js b/script.js index 0154bec..356548d 100644 --- a/script.js +++ b/script.js @@ -76,6 +76,7 @@ function handleNoClick() { messageIndex = (messageIndex + 1) % messages.length; const currentSize = parseFloat(window.getComputedStyle(yesButton).fontSize); yesButton.style.fontSize = `${currentSize * 1.5}px`; + if(messageIndex>messages.length*2) document.querySelector('.no-button').remove() } function handleYesClick() {