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

Ecomrace Product Page.

accessibility
NayyabAqib•650
@nayyabaqib
A solution to the E-commerce product page 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?

The most challenging part was ensuring the layout responsiveness and correctly aligning the elements to match the design. Additionally, handling the JavaScript functionality for the cart system required some debugging to make sure the quantity update and cart addition worked smoothly.

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

I'm most proud of the dynamic image gallery and cart functionality. The JavaScript logic effectively updates the main product image when a thumbnail is clicked, and the "Add to Cart" button updates the cart dynamically. I also focused on writing clean and structured CSS, ensuring a visually appealing design.

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

Next time, I would focus on improving the accessibility and animations to enhance user experience. I would also explore using localStorage to persist cart data, so the cart items remain even after refreshing the page. Additionally, I would refactor the JavaScript code to make it more reusable and optimized.

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 NayyabAqib'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