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

Better solution than using JavaScript alerts to show output of quizzes #24

Open
jkokocha opened this issue Apr 14, 2021 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@jkokocha
Copy link
Collaborator

Currently, when submitting an answer in quizzes (as seen in some info/content pages), the output is given in the form of a JavaScript alert.

This should be upgraded, so that the output displays on the page itself.

The outputs may be changed to make this solution prettier. Some ideas are:

  • Remove the submit button, instantly get a response when clicking on the answer.
  • Quiz responds in color instead of text, the selected option lighting up in red or green depending on if the answer is correct. This could also be coupled with some text below.

However, these are just ideas. If you have a better solution, please go ahead and give it a shot! This issue is not straightforward, and whoever decides to help with it should be ready to get creative and create a good, modular and pretty solution for quiz output that doesn't introduce limitations. There's quite a bit of freedom here!

@jkokocha jkokocha added the enhancement New feature or request label Apr 14, 2021
@jkokocha jkokocha changed the title Better solution than using JavaScript alerts when submitting answer in quizzes Better solution than using JavaScript alerts to show output of quizzes Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant