Skip to content

Create website quiz page #109

Description

@pfwd

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

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions