A simple trivia web app. You have 45 seconds to answer the question, get them all correct to win $1,000,000!
- React hooks (useEffect, useState, useMemo)
- CSS(grid/flex)
- Functional components
Click here to play.
Deploying to GH pages
Steps:- (Inside your project folder) npm install gh-pages --save-dev
- (Add to your package.json) "homepage": "http://andrwphm.github.io/name-of-project"
- (Add scripts) "predeploy": "npm run build"
- (Add scripts) "deploy": "gh-pages -d build"
- (Run) npm run deploy