Skip to content

Trivia Training is is a front-end React app that presents the user 10 multiple choice questions per a round for them to practice.

Notifications You must be signed in to change notification settings

JaysonRice/tandem-trivia-training

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summary

This repository is a code challenge issued by Tandem to apply for one of their Apprenticeship Programs. Trivia Training is is a front-end React app that presents the user 10 multiple choice questions per a round for them to practice. Questions are randomized every round and come from the provided JSON document which are served with json-server.

Deployed on Heroku here.

Trivia round example.

Installation

You will need json-server installed in order to serve the trivia questions.

To start the json server, run the following command in your terminal inside of the api directory:

json-server -p 8088 -w database.json

To start the application, run the following command in your terminal inside of the tandem-trivia-training directory:

npm start

Application Requirements

Assumptions

  • A round of trivia has 10 Questions
  • All questions are multiple-choice questions
  • Your score does not need to update in real time
  • Results can update on form submit, button click, or any interaction you choose

Acceptance Criteria

  • A user can view questions.
  • Questions with their multiple choice options must be displayed one at a time.
  • Questions should not repeat in a round.
  • A user can select only 1 answer out of the 4 possible answers.
  • The correct answer must be revealed after a user has submitted their answer
  • A user can see the score they received at the end of the round

About

Trivia Training is is a front-end React app that presents the user 10 multiple choice questions per a round for them to practice.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published