 document.getElementById('thirdAnswer');
        thirdAnswer.style.display = 'block';
    });

    document.getElementById('noBtn1').addEventListener('click', () => {
        hideSubsequentQuestions(['secondQuestion', 'thirdQuestion', 'forthQuestion', 'fifthQuestion', 'sixthQuestion']);
        document.getElementById('firstAnswer').style.display = 'block';
    });

    document.getElementById('yesBtn1').addEventListener('click', () => {
        hideSubsequentQuestions(['thirdQuestion', 'forthQuestion', 'fi