Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 8 months ago

Product-list-with-cart | HTML CSS JS

Saima Ahmed Sial•1,220
@saimasial-bit
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?

I’m most proud of achieving a pixel-perfect design, ensuring correct layout, colors, and spacing. The code is well-structured and follows best practices. I also focused on responsive styling to make it mobile-friendly. Next time, I would improve accessibility with better contrast and ARIA labels. I’d also add subtle animations for better user engagement. Lastly, I’d optimize print styles for a cleaner printed version.

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

One of the challenges I faced was aligning the elements perfectly according to the design. Initially, some sections were not positioned correctly, but I resolved this by carefully adjusting margins, paddings, and using flexbox. Another challenge was ensuring that the text and images were responsive. I overcame this by using relative units like percentages and rem instead of fixed pixel values.

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

This project helped me strengthen my CSS skills, especially in layout techniques like grid and flexbox. I also learned the importance of attention to detail when recreating a design. Additionally, I realized how crucial it is to test the design on different screen sizes to ensure responsiveness.

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 Saima Ahmed Sial'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