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 using media queries

#bem

@rafaeldgeo

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 I have gotten to use media queries to create the two layouts.

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

It's complicate define the different images for mobile and desktop. I managed to solve this problem using tag .

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

I would like to help with the use tag

Community feedback

Chris Jay 220

@chrisjay358

Posted

Hi Rafael, I think you did an amazing job! I like it and if you would like to improve it, here are a few tips I think you should include.

  • Give more room for visual hierarchy (space between blocks)
  • main { min-height: calc(100vh - 30px); margin-bottom: 3rem; } . That way on a mobile view the footer doesn't rub into the card itself. You could also have a margin-bottom for hierarchy also between the <main> and the <footer>.
  • This is all for now. Hope this meets you well.

Marked as helpful

0

@rafaeldgeo

Posted

@chrisjay358 Hi! Thank you for help! You solve a doubt about this question { min-height: calc(100vh - 30px); margin-bottom: 3rem; }

1
Chris Jay 220

@chrisjay358

Posted

@rafaeldgeo Really glad I could be of service to you, Keep winning and growing Rafael Dias.

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