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

Order Summary Page

@NickAlldredge

Desktop design screenshot for the Order summary component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Hello world! I wasn't sure what was the most acceptable way to add spacing to the page. For example, I used "em" in some cases, "rem" in others. Is there a best practice for when to use "em" vs. "rem" vs. "px"? Thank you!

Community feedback

Anar 700

@anar-sol

Posted

Hello!

What I'm pretty sure of is that for text, an absolute pixel value should not be used, to allow users to change the text size to suit their needs. You can use rem instead.

Marked as helpful

1

@NickAlldredge

Posted

@anar-sol Thanks Anar! I will use rem for text size going forward!

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