Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Product List Cart

Agyemang99 140

@Agyemang99

Desktop design screenshot for the Product list with cart coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

Rendering items form an Array or a JSON file but I need help to complete this project

What challenges did you encounter, and how did you overcome them?

1.Add to Cart Button 2.Update and Total Container in cart 3.Modal

What specific areas of your project would you like help with?

I want help with these parts of the project.

  1. As you can see the Add to Cart button is not displayed because I could not change to the increment, decrement and the update for all the buttons even though I looped through it 2.When the update is set to zero using the decrement, the total Container in the cart does not remove directly unless refreshed and when the close button is used the update function does not set to zero for a particular product unless refreshed 3.And lastly the I could not show the total container in the modal because anytime I tried rendering it with the product items, it came together with each product. Please the expert should look through my code and help me out

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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