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

Product preview card component

@Lemon-stack

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


I'm not 100% sure of responsitivity in different view ports

Community feedback

DNel 200

@TechEdDan2

Posted

Hello,

Nice work on the desktop version.

A suggestion for helping with the mobile version might be to give your div with the .ctn class attribute a fixed px width as soon as you hit the break point you set for the media query, so everything will switch to a mobile view with the image and text content (inside of your hero div) all being the same width size. From 769 until 370 the hero section stretches to the edge of the ctn div. I might also recommend using 100% for the image size, but others might say not to. Hope this helps!

Best of luck!

Marked as helpful

0

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