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 Challenge

@JJ-codes-9

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


What are you most proud of, and what would you do differently next time?

It's getting easier to work with CSS and I have more understanding of a responsive page.

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

My biggest challenge was to set the mobile and desktop views and I couldn't do them. Also when I shrink the browser the flexbox shrinks and the texts overflows. I couldn't find a way to make it look image on top and texts at the bottom for the mobile view.

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

My biggest challenge was to set the mobile and desktop views and I couldn't do them.

Also, when I shrink the browser, the flexbox shrinks, but the .right-column class overflows.

I couldn't find a way to make the mobile look: image on top and texts at the bottom for the mobile view.

Community feedback

P
FRYDPHROG 230

@FRYDPHROG

Posted

If you set the flex-direction of your .product-box to column, you can position the image on top and the text at the bottom.

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