This content originally appeared on DEV Community and was authored by Sarthak Kaushik
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.
This content originally appeared on DEV Community and was authored by Sarthak Kaushik
Print
Share
Comment
Cite
Upload
Translate
Updates
There are no updates yet.
Click the Upload button above to add an update.

APA
MLA
Sarthak Kaushik | Sciencx (2021-07-19T02:33:05+00:00) Quiz app with React.js and typescript. Retrieved from https://www.scien.cx/2021/07/19/quiz-app-with-react-js-and-typescript/
" » Quiz app with React.js and typescript." Sarthak Kaushik | Sciencx - Monday July 19, 2021, https://www.scien.cx/2021/07/19/quiz-app-with-react-js-and-typescript/
HARVARDSarthak Kaushik | Sciencx Monday July 19, 2021 » Quiz app with React.js and typescript., viewed ,<https://www.scien.cx/2021/07/19/quiz-app-with-react-js-and-typescript/>
VANCOUVERSarthak Kaushik | Sciencx - » Quiz app with React.js and typescript. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/07/19/quiz-app-with-react-js-and-typescript/
CHICAGO" » Quiz app with React.js and typescript." Sarthak Kaushik | Sciencx - Accessed . https://www.scien.cx/2021/07/19/quiz-app-with-react-js-and-typescript/
IEEE" » Quiz app with React.js and typescript." Sarthak Kaushik | Sciencx [Online]. Available: https://www.scien.cx/2021/07/19/quiz-app-with-react-js-and-typescript/. [Accessed: ]
rf:citation » Quiz app with React.js and typescript | Sarthak Kaushik | Sciencx | https://www.scien.cx/2021/07/19/quiz-app-with-react-js-and-typescript/ |
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.