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

Social Proof Section

@hirwaNkevin

Desktop design screenshot for the Social proof section coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


#Questions

  • How do can we write font sizes that are more dynamic but consistent?
  • How do we separate font sizes that are dynamic from other measurements like padding and margin?

Community feedback

@pouripz

Posted

hi kevin ! you use font size 62.5% Very good ! but why you use px for font size ? use rem for font size is better for site ! have a good day & night !

0

@hirwaNkevin

Posted

@pouripz Thank you so much for replying. I used px because in the style-guide it said that body copy is in px. I would have used rem if it wasn't written in the style-guide.

But still why do we have to use 62.5%? I saw it in a crashcourse I watched recently.

Again thank you so much @pouripz

0

@pouripz

Posted

when you add font size 62.5% on your html , your font size is 1rem=10px , so you can type 1.5rem for font size this is 15px but on my project my font size is 1.8rem = 18px Try to find the closest way to make your project similar to the project shown on the site

@hirwaNkevin

Marked as helpful

1

@hirwaNkevin

Posted

Wow! thank you @pouripz now it makes sense. I understand it better. I will start using rem units now and try to make my project similar to the one shown. thanks @pouripz.

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