Open tangway opened 8 months ago
added clicked and correct-answer className to the buttons using ${buttonClicked.includes(choice) ? 'clicked' : ''} ${correctButton === choice ? 'correct-answer' : ''}
clicked
correct-answer
${buttonClicked.includes(choice) ? 'clicked' : ''} ${correctButton === choice ? 'correct-answer' : ''}
added
clicked
andcorrect-answer
className to the buttons using${buttonClicked.includes(choice) ? 'clicked' : ''} ${correctButton === choice ? 'correct-answer' : ''}