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

3 Card Component - The Basics

dstriz09 95

@dstriz09

Desktop design screenshot for the 3-column preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Is my "rem" unit usage overkill? When is a good time to use rem vs px?

Community feedback

P
j5 2,290

@jmnyarega

Posted

Checkout out this article https://engageinteractive.co.uk/blog/em-vs-rem-vs-px

Marked as helpful

1

dstriz09 95

@dstriz09

Posted

@jmnyarega This is great! thanks so much for all the tips.

0
P
j5 2,290

@jmnyarega

Posted

Nice work @dstriz09.

  • I don't think there is overkill in using relative units. They are preferable almost in all our code because the text will scale properly will rem/em

  • I will recommend using relative units on media queries [[use em here]] as well 🙂.

  • I suggest changing the cursor when hovering on the buttons, though subtle it will provide a better experience when using the component. cursor: pointer.

1

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