/Trivia_Flash_Cards

Practicing JS by creating a trivia flash card website that tracks your score as you go along.

Primary LanguageJavaScriptMIT LicenseMIT

Trivia Cards

By Trent Dietzel

Table of Contents

About

About Trivia Cards

The primary functionality of the application is to provide users with a set of trivia questions. Users can interactively answer each question, and the application keeps track of their responses, providing a final score at the end.

Demo

You can try out the live demo of Trivia Cards here (Not Working atm).

Technologies Used

  • HTML
  • CSS (Bootstrap for styling)
  • JavaScript
  • NPM (Node Package Manager): for package management
  • Lint: for code quality and style checking
  • Webpack: for bundling and building the project
  • Jest: for testing the JavaScript code

Features

  • Interactive Trivia: Users can answer trivia questions interactively.
  • Score Tracking: The application tracks user answers and provides a final score.

Installation

Follow these steps to set up the project locally:

  1. Open Git BASH Download Link
  2. Clone the repository to your local machine:
    git clone https://github.com/tdietzel22/Trivia_Flash_Cards.git
  3. Open the project directory:
    cd Trivia_Flash_Cards
  4. Open in a code editor like Visual Studio Code.
  5. Open the VS Code terminal and enter this command to install needed dependencies:
    npm install dotenv-webpack@8.0.1 --save-dev
  6. The run once installed to view in browser or to use for further development:
    npm run start

Usage

To use Trivia Cards:

  1. Visit the website here.
  2. Trivia questions will be displayed one at a time.
  3. Select either "True" or "False" for each question.
  4. Click the "Next" button to proceed to the next question.
  5. After answering all questions, the application will display your final score.

Contributing

I welcome contributions to improve the project. If you'd like to contribute, please follow these guidelines:

  1. Fork the project repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and test thoroughly.
  4. Commit your changes with a descriptive commit message.
  5. Push your branch to your forked repository.
  6. Create a pull request to the main repository.

Known Bugs

  • Demo isnt up

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For any questions, suggestions, or inquiries, please contact Trent Dietzel at dietzelbiz@outlook.com.