This site shows how to use The Trivia API to build a basic quiz web app using Vue. The code is public and can be seen on its Github repo.
| Total Questions | 10 |
|---|---|
| Current score | 0 |
| Questions remaining | 10 |
1: What is the total number of days in March, April, and May combined?
{
"category": "General Knowledge",
"id": "64824ee57778562fd76a96a7",
"correctAnswer": "92",
"incorrectAnswers": [
"90",
"89",
"91"
],
"question": "What is the total number of days in March, April, and May combined?",
"tags": [
"numbers",
"arithmetic"
],
"type": "Multiple Choice",
"difficulty": "medium",
"regions": [],
"isNiche": false
}