[Live-Demo] (https://quiz.chitran.de/)
- API calls to Free Trivia DB
- User can choose questions from a list of categories
- Check button: Show user's selected answer is correct or not
- User get coins in case having a correct answer
- Keep track of previous user's answers
- Set play again option
- All (by default)
- Science and Nature
- Computers
- Sports
- History
- Art
- land on page
- select a category (optional)
- start game:
- 10 Question appear in sequence
- Check if answer is correct or not
- Next question
- See the Coins on display
- Play again?
-
(Fixed) styled-components
expectedts-styled-plugin(9999)
https://github.com/microsoft/typescript-styled-plugin -
(Fixed) json file
Trailing commas
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Trailing_commas -
(Fixed) encode & decode
encode=base64 and btoa() method
https://www.w3schools.com/jsref/met_win_atob.asp