-
Notifications
You must be signed in to change notification settings - Fork 30
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
Points decrement for wrong answers #9
Conversation
One thing though, if the prettier formatting is not what you want (it replaced the double quotes with single quotes, whitespace, etc, that is why it shows so many changes), I can re-format by making another commit. |
Yeah, no worries. I use that extension too! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Vrindavan,
Thanks a lot for your contribution!!
Looks good, only issue I got is that if the first question goes wrong it doesn't minus any points, ideally it should -100 even for the first question, and then it ads back to positive once you get a question right? What do you think about that.
Also, I see you changed the button colors, it looks much better now, only issue is this color doesn't look too nice now, can you change it a little bit?
Thanks a ton,
Kendall Does Coding
Oh sorry, I pressed the review button again. Anyway, that is weird because I did not change the colors at all. I just added the function in the js file and rules in the rules file. |
Oh sorry, I got confused, you didn't change the colors, dw about it.
If the person gets all the questions wrong, per question it -100 so if they get 15 questions wrong -1500, if it's a 10 question quiz and they get 5 wrong and 5 correct, score will be zero. Let's see how that would work out. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have removed the 0 cap so now score can go below zero and removed that from rules also.
Works perfectly. Thanks for your contribution. |
Hey @vrindavan , I require this done for all the quizzes, which can be seen in https://quiz.kendalldoescoding.gq/topics/ you did it only for the main one. |
Related Issue/Addition to code
Type of change
Proposed Changes
Checklist: