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: In what does a rhinologist specialise?
{
"category": "Science",
"id": "622a1c3e7cc59eab6f952247",
"correctAnswer": "The Human Nose",
"incorrectAnswers": [
"Rhinoceroses",
"Kidneys",
"The Moon"
],
"question": "In what does a rhinologist specialise?",
"tags": [
"words",
"science"
],
"type": "Multiple Choice",
"difficulty": "medium",
"regions": [],
"isNiche": false
}