tangway / flag-guessing-game-frontend

0 stars 0 forks source link

make buttons reflect wrong and correct answers #28

Open tangway opened 8 months ago

tangway commented 8 months ago

added clicked and correct-answer className to the buttons using ${buttonClicked.includes(choice) ? 'clicked' : ''} ${correctButton === choice ? 'correct-answer' : ''}