Live Link : https://edge.finale-exame.surge.sh
- Creating Fake data and use
- React route
- Dynamic Routing
- React Hooks
- Conditional CSS using Hooks
I used local storage to manage data. At first I checked that id I want to add to local storage. If this id already exist I will get that id otherwise I get an empty array. Then checked which id I got and which id I want to add are they same or not. I they match it will give me an alert "Product already exist", if they do not match the id will be added to the local storage.
- React route & Condition CSS
- Show Products by selected category
- Add to Cart and Add to Wishlist
- Show product in decending order by clicking sort button
- Used local storage so you can Add Product to cart or wishlist with out log in