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

Empty answers are allowed during a quiz #7

Open
imaginarys96 opened this issue Nov 3, 2023 · 0 comments
Open

Empty answers are allowed during a quiz #7

imaginarys96 opened this issue Nov 3, 2023 · 0 comments

Comments

@imaginarys96
Copy link
Owner

imaginarys96 commented Nov 3, 2023

Description

When doing a quiz, blank answers are allowed. It is possible that a user accidentally hits enter on their keyboard, which might cause them to skip a question.

Steps to Reproduce

  1. Run the app
  2. Have at least 1 question in the question bank
  3. Run start /all /random
  4. You will be prompted to enter your answer for the question, hit enter on your keyboard

Expected Output

Should inform the user that the answer is blank and let the user try again

Actual Output

start /all /random
    ____________________________________________________________

    Starting the quiz...
    ____________________________________________________________

    Question 1 / 2:
    represent the fraction 5.3 as a mixed number
  Your Answer:
    Wrong!
    Questions left: 1
    ____________________________________________________________

    Question 2 / 2:
    aaa
  Your Answer:
    Wrong!
    Quiz completed!
    Your score: 0/2
    ____________________________________________________________

Screenshot

image.png

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

No branches or pull requests

1 participant