Design comparison
Solution retrospective
Hi,
This is my first MERN stack application and also my first completed Guru challenge on Frontend Mentor. This is not the best solution out there for this challenge, but it is the best I can pull off right now.
Any feedbacks are welcome! Thank you and happy coding!
Community feedback
- @PeshwariNaanPosted almost 2 years ago
@sqle157 This looks great - very well done. I haven't had a chance to go through the code just yet but there is just one thing that I found that might improve the cart. If there is just one item in the cart, you cannot push the minus button to move it to 0. Perhaps add a check for when the counter goes to 0, the item is removed from the cart. That way you don't have to clear the whole cart if you just want one item removed. I'll take a look at the rest when I can, but everything looks pretty awesome at first glance.
Marked as helpful0@sqle157Posted almost 2 years ago@PeshwariNaanYea I just realized I can improve upon that, and I've added the feature into the code! Thank you for your suggestion, and I'm looking forward to any further feedbacks.
Have a nice day!
0
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