React version of Trivia application. The app is written with React and ES6 (ES2015), and is built using Babel and Webpack.
Check out a hosted version here.
Original by: ccoenraets/react-trivia
My idea is to have the app be able to run a full Jeopardy game with two elimination stages and a final stage.
The questions in the example above are just placeholders. It’s easy to create your own questions:
-
Click here to download the app
-
Modify data.js with your own questions
The questions are loaded this way as a convenience so you can easily load index.html from the local file system (using the file:// protocol) without runnning into XHR cross origin issues. See the commented out componentDidMount in app.js for an alternative XHR implementation
-
Open index.html. You can just double-click index.html on your local file system: no need for a web server.
If you want modify the app and create you own build:
-
Clone this repo
git clone https://github.com/ccoenraets/react-trivia -
Install the dependencies
npm install -
Modify the app in the /app folder
-
Build the app
npm run webpack
Initially inspired by Ember Jeopardy
Forked from ccoenraets/react-trivia
Owl: https://thenounproject.com/term/owl/20120/ - Owl by Nuno Lezon from the Noun Project
- App: MIT
- Music: All Rights Reserved ArtIss