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

Responsive E-Commerce Product Page with SASS, BEM and EDA

sass/scss
nodegreecode•430
@nodegreecode
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?

This time, I took a further step in implementing the EDA pattern and switched to a modular structure. This approach helps encapsulate elements that should remain hidden from the outside, making development and refactoring more efficient. The solution is close to what it should be, though I’m aware of several improvements and adjustments that need to be made. I plan to refine it further next time—or perhaps refactor the project entirely and implement it using Vue, as I'm currently refreshing my knowledge of the framework.

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

First of all, managing the styling of the dialog was quite challenging, and I’m still struggling a bit with this component. Creating a custom backdrop and getting it to work properly was particularly tricky. Additionally, accessibility remains an area for improvement in this solution, as I couldn’t manage tabulation perfectly to ensure users can navigate solely with the Tab key. Getting all the logic to function cohesively was another challenge, but after implementing it with modules—returning objects with methods and fields separated by closures—it became somewhat easier to get everything working.

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