Skip to content

aidencullo/oldtrueorfalse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Features

  • Random true-or-false questions on every load.
  • Clean, responsive design.
  • Powered by Open Trivia DB.
  • Simple structure for easy contribution and extension.

Getting Started

Prerequisites

  • Node.js (v14 or later recommended)
  • npm (comes with Node.js)

Installation

  1. Clone the repository:
    git clone https://github.com/aidencullo/trueorfalse.online.git
    cd trueorfalse.online
  2. Install dependencies:
    npm install

Running Locally

Start the development server:

npm start

Visit http://localhost:3000 in your browser.

Building for Production

npm run build

Creates a production-ready build in the build folder.

Usage

Just open the app and try to guess whether the displayed statement is true or false. Refresh for a new question!

Project Structure

  • src/ – React source code and components
  • public/ – Static files
  • README.md – Project documentation

API

Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.

License

This project is open source and available under the MIT License.

Credits

About

React trivia app presenting true-or-false questions from the Open Trivia DB.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors