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

WIP: add options hideScoreBeforeSubmit, showSolutionsAfterSubmit #1

Closed
wants to merge 1 commit into from

Conversation

kwibus
Copy link
Owner

@kwibus kwibus commented Aug 28, 2023

My goal is that you only can view you score after you have submitted your answers.
see also h5p#133

I have made a options hideScoreBeforeSubmit that enables this.

Also add option showSolutionsAfterSubmit that will make interactive book will show Solutions of all question after submit answers.

TODO

  • clean up
  • I don't like how score in written now after submit. now is:
    - chapter is redrawn.
    - then .h5p-interactive-book-summary-buttons is found and styled/focused
  • save and restore that you have submitted you answers

@kwibus kwibus closed this Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant