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

Natnael 50

@NatnaelDemelash

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 always find the media query(making responsive) part difficult.

Community feedback

@PadseGaming

Posted

Hello Natnael,

your solution for the desktop looks fine to me.

A problem with the responsive design is the fixed sizes of Elements. Try to use % attributes, this should help u for the resize on any screens. But u allready get a Link from Deevyn9, i think that will explain it a little bit deeper.

The different between % and vh is that vh take care of the Viewport and the % of the parent Element (i learnd yesterday).

Hope my tip will help u in future :-)

Marked as helpful

0

Natnael 50

@NatnaelDemelash

Posted

@PadseGaming Thank you very much I will try it

0
Divine Obeten 2,435

@Deevyn9

Posted

Hi Natnael, congrats on completing this project, your solution looks really great.

About the issue you say you have with media queries, have a look at this documentation, It should make you understand media queries more. Good luck.

https://developer.mozilla.org/en-US/docs/Web/CSS/Media_Queries/Using_media_queries

Happy Coding!

Marked as helpful

0

Natnael 50

@NatnaelDemelash

Posted

@Deevyn9 Thanks for your quick support and appreciation!

1
Divine Obeten 2,435

@Deevyn9

Posted

@NatnaelDemelash glad I could help

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