-
This is a React trivia application that dynamically fetches questions from the Open Trivia Database API.
-
It is mainly used to show how to put a GitHub repository/project onto Vercel.
-
Fetches trivia questions dynamically using the Open Trivia Database API.
-
Displays questions and allows toggling between showing and hiding answers.
-
Responsive and modern layout built with React Bootstrap.
-
"Refresh Questions" button to load a new set of trivia questions.
Follow these steps to set up the project locally:
git clone https://github.com/codingTempleDave/vercel-trivia.git
cd vercel-trivia
npm install
npm run dev
- Open http://localhost:5173/ in your browser to view the app.
- Sometimes the port may be different depending on your setup so be sure to use the right port