This is a solution to the Product list with cart challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- Add items to the cart and remove them
- Increase/decrease the number of items in the cart
- See an order confirmation modal when they click "Confirm Order"
- Reset their selections when they click "Start New Order"
- View the optimal layout for the interface depending on their device's screen size
- See hover and focus states for all interactive elements on the page
- Solution URL: Frontend Mentor
- Live Site URL: Vercel
- Vite 5.4.1
- React 18.3.1
- Typescript 5.5.3
- TailwindCSS 3.4.10
- Prettier 3.3.3
- prettier-plugin-tailwind 0.6.6
- ESLint 9.9.0
- Jotai 2.10.0
I used this project to learn jotai. It was fun and easy to use. 10/10 would recommend.
To see how you can add code snippets, see below:
TBC maybe I could use the payment api???
- See an order confirmation modal when they click "Confirm Order"
- Reset their selections when they click "Start New Order"
- GitHub - Emmanuel Jemeni
- Frontend Mentor - @Jemeni11
- Twitter - @Jemeni11_