In this article I will create a quiz app with react.js and typescript using open trivia api and tailwind css.
Setup
- Clone the repo .
- run
yarn install
. - Generate your custom endpoint from opentdb and add to
ENDPOINT
variable inMainpage.tsx
. - Run
yarn start
to start the project.
About The Project.
- Project is created with react and typescript
- for styling I have used tailwind css.
- context api has been utilized for keeping the score of the user.
Top comments (0)