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 Questions | 10 |
|---|---|
| Current score | 0 |
| Questions remaining | 10 |
1: What makes an animal a bird?
{
"category": "Science",
"id": "622a1c3f7cc59eab6f952377",
"correctAnswer": "Feathers",
"incorrectAnswers": [
"Wings",
"Eggs",
"Beaks"
],
"question": "What makes an animal a bird?",
"tags": [
"science"
],
"type": "Multiple Choice",
"difficulty": "medium",
"regions": [],
"isNiche": false
}