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

🚀 Feature: Add wrong answer message to graph exercise #101

Closed
1 task
SanjnaT41756 opened this issue Apr 22, 2024 · 1 comment
Closed
1 task

🚀 Feature: Add wrong answer message to graph exercise #101

SanjnaT41756 opened this issue Apr 22, 2024 · 1 comment
Assignees
Labels

Comments

@SanjnaT41756
Copy link
Contributor

When given correct input to the graph exercise, we see the next exercise. However, nothing happens when there are incorrect inputs. We want to add the "That's not quite right. Try again! " message when incorrect input is submitted, like it is with the other exercises.

Proposed Solution

  • add a wrongMessage function in GraphInput.tsx similar to the one in AxisInputs.tsx
  • edit the checkCorrect() function in GraphInput.tsx, such that it would handle incorrect input
  • Add the wrong message text element in the return
  • We want to copy what is being done in AxisInputs.tsx
  • 👋 I may be able to implement this feature request

This is a 🚀 Feature Request

@SanjnaT41756
Copy link
Contributor Author

#108 closes this issue

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

No branches or pull requests

2 participants