Trivia API React Starter

This site shows how to use The Trivia API to build a basic quiz web app using React. The code is public and can be seen on its Github repo.

Total Questions10
Current score0
Questions remaining10

1: How many sides does a heptagon have?

Question JSON
{
  "category": "Science",
  "id": "622a1c3e7cc59eab6f95228f",
  "correctAnswer": "7",
  "incorrectAnswers": [
    "8",
    "6",
    "9"
  ],
  "question": "How many sides does a heptagon have?",
  "tags": [
    "science",
    "mathematics",
    "numbers",
    "general_knowledge"
  ],
  "type": "Multiple Choice",
  "difficulty": "medium",
  "regions": [],
  "isNiche": false
}