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

Create website quiz page #109

Open
4 tasks
pfwd opened this issue Sep 27, 2022 · 0 comments
Open
4 tasks

Create website quiz page #109

pfwd opened this issue Sep 27, 2022 · 0 comments
Assignees
Labels
good first issue Good for newcomers react React code website Tasks for the website
Milestone

Comments

@pfwd
Copy link
Contributor

pfwd commented Sep 27, 2022

Requires the following:

Create a NextJS page with address /[quiz-slug]/[question-number] which does the following

  • When rendered an API call is made to get and store all the questions within the known quiz-slug .
  • Displays the Question component which refers to the [question-number]
  • Displays a next button that when clicked replaces the Question component with the next Question component and changes the address to be (/[quiz-slug]/2). Only display the button if there is a next question. This button should be displayed under the question on the right.
  • Displays a previous button that when clicked replaces the current Question component with the previous one. Only display the button if there is a previous question. This button should be displayed under the question on the left
@pfwd pfwd self-assigned this Sep 27, 2022
@pfwd pfwd added the website Tasks for the website label Sep 27, 2022
@pfwd pfwd added good first issue Good for newcomers react React code and removed needs refining Any tickets that need refining labels Oct 8, 2022
@pfwd pfwd added this to the Project setup milestone Oct 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers react React code website Tasks for the website
Projects
None yet
Development

No branches or pull requests

1 participant