Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color-coding of the answers for pretest and posttest pages needs to be fixed. #499

Closed
shraddha opened this issue Aug 6, 2024 · 0 comments · Fixed by #500
Closed

Color-coding of the answers for pretest and posttest pages needs to be fixed. #499

shraddha opened this issue Aug 6, 2024 · 0 comments · Fixed by #500
Assignees
Labels
bug Something isn't working

Comments

@shraddha
Copy link
Collaborator

shraddha commented Aug 6, 2024

Currently the posttest and pretest pages include the following functionalities:

There is a series of questions. Each one of them has 4 answers attached to it. Each question also has a difficulty level assigned. There can be an explanation attached to each answer, or a few one of the answers. The explanation is shown whenever the corresponding answer is selected - irrespective whether it is correct or incorrect.

Out of the 4 answers, only one is right. Initially all answers are of color black.
But once one of them is selected, depending on whether the answer is correct or incorrect, the answer will be colored red (incorrect) or light green(correct). If answer is correct, in the next round, all the 4 answers of that question retain the colors they had before, when one of them became green/correct. But if the answer is incorrect, then the answer should retain the color red until the correct answer is found for the corresponding question.

With the addition of description and difficulty level, this functionality was lost. We need to show the correct answers in light green color.

@shraddha shraddha added the bug Something isn't working label Aug 6, 2024
@shraddha shraddha self-assigned this Aug 6, 2024
shraddha added a commit that referenced this issue Aug 6, 2024
Fixed the issue - Color-coding of the answers for pretest and posttest pages needs to be fixed. #499 (#499)
@shraddha shraddha linked a pull request Aug 6, 2024 that will close this issue
shraddha added a commit that referenced this issue Aug 6, 2024
Fixed the issue - Color-coding of the answers for pretest and posttest pages needs to be fixed. #499 (#499)
shraddha added a commit that referenced this issue Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant