product list with cart

Solution retrospective
I'm Most Proud of my ability to learn new things, while solving this project.
What challenges did you encounter, and how did you overcome them?One Striking Challange i had, was being able to style the elements in the cart seperately, so that users know which items have been added to cart.
Another one was having to calculate the number of items in the cart. the state.length worked, but it failed to include the quantity of each items, so i used an Array,reduce to sum up the quantity of each item in the cart.
What specific areas of your project would you like help with?None for now, except that i'll like for a senior dev to help me go through my codebase, and point out where i should improve on.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on David David's solution.
Join 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