The app relies on one JSON file to house the questions and answers (and even followup information). Past that, the app keeps score in state and relies on Svelte’s built-in transitions for seamless transitions.
Oh, and you may be asking, “Why did you just use one of the 100 million quiz generator sites to hold your trivia?” My answer is two-fold…
- This seemed like a quick and fun project to build.
- I’ve been on a privacy/anti-advertisement kick lately so I wanted to make sure what I build would have no tracking, social features, or privacy implications. This app is nothing but a simple trivia app for fun. Nothing more. Of course, a developer could add that functionality, but I didn’t want it.
I have a few other enhancements and feature ideas that I may get to one day but for now, this is going to do the trick.