Let's Get Trivical!
A customizable trivia quiz app built with React.js
Let's Get Trivical is a dynamic quiz app designed to provide a fun and customizable trivia experience. It connects to the Open Trivia Database (OpenTDB) API to fetch questions, allowing users to choose their favorite categories and difficulty levels.
Features:
- Select from a variety of trivia categories
- Easy, Medium, and Hard difficulty levels
- Randomized answer options for each question
- Error handling for seamless user experience
- Responsive design with an engaging UI
What I Learned:
Working on this project let me practice effectively using React hooks like useState and useEffect for dynamic data handling.
I also improved my skills in integrating APIs, managing error handling, and creating interactive, responsive designs that provide a great user experience.
Technical Highlights:
- Integrated Open Trivia Database (OpenTDB) API for real-time questions
- Implemented session tokens to prevent repeated questions
- HTML entity decoding for cleaner question formatting
- Dynamic randomization of answer options to eliminate biases
