DEV Community

loading...
Cover image for Quiz app with React.js and typescript

Quiz app with React.js and typescript

Sarthak Kaushik
I'm full-stack web developer
・1 min read

In this article I will create a quiz app with react.js and typescript using open trivia api and tailwind css.

Github Link
quiz app react js

Setup

  • Clone the repo .
  • run yarn install .
  • Generate your custom endpoint from opentdb and add to ENDPOINT variable in Mainpage.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.

Discussion (0)