Skip to content

Create website quiz page #109

Open
Open
@pfwd

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions