Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Mobile first solution

@UzomaFidelis

Desktop design screenshot for the E-commerce product page coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
3intermediate
View challenge

Design comparison


SolutionDesign

Solution retrospective


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

The page overlay that shows up when the sidebar is open (on mobile) surprising gave me quite a bit of difficulty. I initially put the overlay element outside the header and whenever I showed it, it covered the page but not the header. I played around with the z-index but then it covered the header and sidebar. Somehow I learned that as the sidebar itself was a child of the header I could not put the overlay between the header and the sidebar just by manipulating the z-index. Finally solved it by just putting the overlay element in the header component

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

Tried to implement lazy loading for the images and a placeholder spinner. Gave up on this as the results weren't exactly what I was looking for. Would love to study and practice more with lazy loading and maybe implement it in a future challenge. Any feedback on good resources would be appreciated

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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