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 Product Preview Card Component

P

@ilyesab

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'm proud of the fact that I used calc functions and a combination of vw / rem units to make the typography / spacing responsive without media queries.

I'd like to make use of the clamp function next time as it seems to be a powerful function to achieve responsive typography.

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

The main challenge was ensuring the design looks good on all devices without cluttering the CSS with a huge number of media queries.

I tried to make the CSS responsive by default without using media queries. though, I still used media queries to adjust the width of the container and to split the design into two columns on large screen sizes.

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

I think I still struggle on how to achieve a design that looks optimal across the wide range of devices in the market today.

I tried to make typography and padding responsive in this particular challenge using the calc function and vw / rem units. but I'm unsure if I used them correctly.

Community feedback

Cristian 60

@CristianLich

Posted

realmente buen trabajo, aprendi mucho leyendo.

no se si es buena practica el uso de tantas media queries

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