- Creating a router by createBrowserRouter
- Path create 2.1. Create links using Link tag and set target 2.2. Respected Components create.
- Fetch api 1.1. Use loader to fetch 1.2. use useLoaderData to get api
- Unique path 2.1. path create ex. path: '/quiz/:quizId' 2.2. unique api path set
- Install rechart "npm install recharts"
- Use rechart by importing respected components
- fetch data from api
Multiple questions were given which are solved
- Questions are shown by there respected id
- Compare selected option and correct answer and show toast
- Show count of correct answer from localhost
- Show correct answer in the EyeIcon