A simple web app that generates random true-or-false trivia statements for you to guess! Built with React, this project fetches questions from the Open Trivia DB and provides an engaging, minimal interface for quick play.
- Random true-or-false questions on every load.
- Clean, responsive design.
- Powered by Open Trivia DB.
- Simple structure for easy contribution and extension.
- Node.js (v14 or later recommended)
- npm (comes with Node.js)
- Clone the repository:
git clone https://github.com/aidencullo/trueorfalse.online.git cd trueorfalse.online - Install dependencies:
npm install
Start the development server:
npm startVisit http://localhost:3000 in your browser.
npm run buildCreates a production-ready build in the build folder.
Just open the app and try to guess whether the displayed statement is true or false. Refresh for a new question!
src/– React source code and componentspublic/– Static filesREADME.md– Project documentation
- Uses Open Trivia DB to fetch random true-or-false questions.
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
This project is open source and available under the MIT License.
- Trivia questions provided by Open Trivia DB.