
Design comparison
Solution retrospective
Site is working and responsive, but I will refactor it first, then outsource the state management to Content API or Redux
What specific areas of your project would you like help with?I didn't want to modify the given JSON data file, so I track the orders / cart-items in a derived data I create from that. The solution works but I feel it is a bit messy. I'm open to any critical thougts about that, or anything else :)
Community feedback
- @mbank14Posted about 1 month ago
Hello, it's a very good result, but I think you can still make a slight adjustment. Instead of basing the 'add to cart' on isActive, it should be based on qty, because when I tried clicking, the qty displayed was 0 instead of 1, so it didn't go directly to the cart.
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord