Design comparison
Solution retrospective
I need Help!, I have been struggling on this particular project for some weeks now, Here are my problems: 1.) How do I get to track the number of quantity chosen by the user and display it on the cart-icon. 2.)How do I get the chosen quantity multiplied by the price and get total price. I have been going back and forth with DOM manipulation but have not gotten any results, please I need suggestions Thank you.
Community feedback
- @alfiemitchell123Posted about 1 year ago
Hi Oluwatoni,
Great job so far. I personally used React for this project, but this particular challenge is quite complicated if you're new to it. I found it to be one of the most difficult coding challenges I've done so far. If you're really stuck, I find it useful to post your code into ChatGPT and give it a prompt such as 'how do I add cart functionality in pure JavaScript', for example. It won't complete the challenge for you, but it'll give you code snippets and step-by-step instructions that you can learn from.
If you want to check out my code, here is a link to my completed challenge - https://www.frontendmentor.io/solutions/ecommerce-product-page-with-react-cFHbwSVxxM
Good luck!
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