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 Review Card

@Kavman-skl

Desktop design screenshot for the Product preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

YANIIツ 510

@filipjanik00

Posted

Hi! I have some tips for you! Always use rem unit when defining font-sizes. Here is an article about it: https://www.freecodecamp.org/news/why-use-rem-to-set-font-size-in-css/ pef__h2 in your code should be H1 instead of H2. To make your solution more like a ready-made one, card title you should use line-heigt. Other than that, the solution is great! :)

Marked as helpful

0

@Kavman-skl

Posted

@filipjanik00 Thanks bro but can you please explain what the line height actually does

1
YANIIツ 510

@filipjanik00

Posted

@Kavman-skl I send you a link to article: https://developer.mozilla.org/en-US/docs/Web/CSS/line-height

At the beggining of the article in section CSS Demo: line-height it's well explained. Have a nice day :)

0

@Kavman-skl

Posted

@filipjanik00 thanks have a nice day

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