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

React, Mobile-first approach, Flexbox

react
Zdravko•440
@Zdravko93
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?

Project built using React framework and mobile first approach. Feedbacks are always widely welcome and will be taken into consideration.

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

I am looking for a specific feedback on my way of handling layout at different screen sizes.

  1. Is it common way of handling responsive design, and conditionally rendering components as I did. Is there a better way, and which is it, using best practices?
  2. I think there might be a small bug on ImageGallery on first render of the component, since it looks like large image is being shown right away, and then there is that flashing effect, which should only take place upon changing the image, it also reffers to Lightbox component since ImageGallery is a part of the Lightbox as well. I am wondering how do I remove this 'buggy' behaviour?
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 Zdravko'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

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