Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

Product page with card no Figma

react, vite
grgrnkoo•520
@grgrnkoo
A solution to the Product list with cart challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


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

Mostly I'm proud of myself for getting familiar with React. Thanks Frontend Mentor for providing us with such a good challenges!

Thing that I'd like to do differently... I think cart logic. I did it by copying data array and adding quantity, so cart displays only products with quantity > 0. It works well here, but on bigger project it can cause unnecessary data usage.

Also code became really messy at final point. Need to push myself to write it cleaner. Aaaaand the last thing. I absolutely ignored the modular CSS technique, that needs to be fixed on next project

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

React is soo different compared to Vanilla JS, need some time to get used to it

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

Would love to receive any kind of review. Thanks to Frontend Mentor community !

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on grgrnkoo'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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License