rachelktyjohnson / hktbf22-quiz-app

See the live version here: https://rachelktyjohnson.github.io/hktbf22-quiz-app
1 stars 7 forks source link

Disable answers between questions #5

Closed rachelktyjohnson closed 2 years ago

rachelktyjohnson commented 2 years ago

Select ALL the answers!

You must be assigned this issue in order for your Pull Request to be accepted and merged. Please refer to "How to claim an Issue here: https://github.com/rachelktyjohnson/hktbf22-quiz-app/blob/master/CONTRIBUTING.md#how-to-claim-an-issue

Currently, a user can keep answering the same question with different (or the same) answer buttons. We can't have that! Your task is to make sure all answer buttons are disabled once one has been picked. Then, make sure they are enabled again when the next question is loads!

This functionality should be triggered in handleInteraction() in game.js, but the logic should live in question.js

OluwaDraco commented 2 years ago

I would like to be assigned this Issue. My Slack handle is Olushola Oludipe and I'm in the web development TechDegree. Thank you!

rachelktyjohnson commented 2 years ago

I would like to be assigned this Issue. My Slack handle is Olushola Oludipe and I'm in the web development TechDegree. Thank you!

@OluwaDraco all yours!