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

Responsive mobile design & desktop

P
Xay•260
@xayrax88
A solution to the Product preview card component 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 was my first assignment here using responsive design by using media queries as I am learning and reading more in depth about responsive design in FEM. I am proud of using the technique of designing by mobile first and then doing the desktop version. I would probably go back and restructure and organize my CSS code more so I am not repeating myself in certain areas. What I would do differently is refactor my code.

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

I had issues with the spacing and sizing and had to play around with it a lot between display flex from how the mobile version looks versus the desktop version where the image was now sitting to the left of the content container this time. I had various online resources I mainly looked by googling and using MDN.

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

I had issues with the hover effect where the if you hover over the button it turns white and not the color that it was intended to be. I have to go back and fix that later or if anybody can kindly advise me otherwise.

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