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

Timer #86

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

danielgeorge922
Copy link

Related Issue/Addition to code

[FEATURE] I think creating a time limit for the quizzes could add a new aspect to the competition (when the leaderboard is ready). #77

Type of change

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Proposed Changes

Implemented a countdown timer for each quiz question, with a time limit of 30 seconds.
The timer resets for each question and automatically moves to the next question when time runs out.
If the user selects an answer before the time runs out, the timer stops and the quiz proceeds as usual.

Additional Info

Still need to implement the ability to move to the next question whenever the 30 second timer is up

Checklist:

  • My code follows the style guidelines of this project and have read CONTRIBUTING.md
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

Screenshots

Old:
Screenshot 2024-10-03 133930
New:
Screenshot 2024-10-03 133950

@KendallDoesCoding
Copy link
Owner

Please add the code to all the pages. Thanks.

Copy link
Owner

@KendallDoesCoding KendallDoesCoding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add this functionality to all pages.

You can work alongside #82 #83 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants