jewlofthelotus / SlickQuiz

A jQuery plugin for creating pretty, dynamic quizzes.
http://jewlofthelotus.github.com/SlickQuiz
MIT License
400 stars 244 forks source link

New css class for answers #46

Closed Aybee closed 9 years ago

Aybee commented 10 years ago

A class correct or incorrect for each answer. To visualy point out the answer status in quizResults to give the user a chance to learn right answers and then run the test again.

Additionaly a class incorrectResponse as counterpart to correctResponse for li.question in quizResult.

See #43

jewlofthelotus commented 9 years ago

@Aybee Thanks for another great idea! I did modify the solution a bit to try to avoid quizzes being even more easily cheatable than they already are. So, now the answer classes won't get applied until the answer is submitted.

I also made sure that the classes would get reset when needed. You can see the changes here https://github.com/jewlofthelotus/SlickQuiz/commit/f0bcf12ad2eea0392fe71f1838e47f2ab0eb42e8

Thanks again! And thank you for using SlickQuiz!

Aybee commented 9 years ago

Thank you. I just focused on the last result summary page.

Soon I will use SlickQuiz on a golf website project for a german golf quiz and will try your solution. If you like to see a styled preview of the quiz send me an email please.