Quizzical is a fun and interactive trivia quiz app built with React and Vite. It fetches questions from the Open Trivia Database and allows users to customize their quiz experience by selecting category, difficulty, type, and number of questions.
- Choose trivia category, difficulty, type, and number of questions
- Fetches fresh questions from the Open Trivia Database API
- Responsive UI
- Loading indicator while fetching questions
- Local storage categories for faster load times
- Clone the repository:
git clone https://github.com/aayanaqdas/quizzical.git cd quizzical - Install dependencies:
npm install
Start the development server:
npm run devOpen http://localhost:5173 in your browser to view the app.
- Select your preferred quiz options (category, difficulty, type, number of questions).
- Click Start quiz.
- Answer the questions presented.
- See your results at the end and try again!