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

Responsive landing page using css flex, @media

@JenniferjjChen

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?

I am most proud of being able to incorporate both mobile and desktop versions, with the slightly different layouts for each screen size. I tried to do desktop first in this challenge. I would want to try to do mobile first in the next challenge.

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

Trying to figure out how to use the landscape or portrait image when screen size is different was difficult. Had to try out a bunch of things before hand before finding the solution that worked.

Community feedback

@JoshLanderz

Posted

Well done Jennifer!

Mobile first is definitely the way to go most challenges. As for your image screen size issue, let me be the first to tell you that it takes a good while to get accustomed to controlling images in CSS.

To help you get there, use attributes like [object-fit: cover], [max-width: 100%] & [height: auto].

0
Accel-exe 170

@Accel-exe

Posted

'-'

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