Ken Frederick


Trivia Game Website

Online trivia game I built for fun and learning, made with React. It’s a sort of spiritual ancestor to the React Native trivia game I eventually built, Trivia Knight. The app to connects to the Open Trivia Database and pulls down a session token and categories on initialization. Then, when the user has selected a category and a difficulty, it fetches the questions and stores them in the React context. React-spring provides animated feedback and page transitions. It’s simple and works well overall. I’m happy with how this little side project turned out, and I’m eager to apply what I’ve learned about hooks, context and react-spring to other projects. The source code is available on Github.