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

html css flexbox

lunatik 10

@lunatikcoding

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

that i was able to center the div

What challenges did you encounter, and how did you overcome them?

centering elments sizing everything

What specific areas of your project would you like help with?

flex box sizing semantics

Community feedback

Shiv 350

@undrthegraveyard

Posted

Hey,

A better way to declare your sizing might be to use relative units, instead of hard-coded units like px as much as possible.

Use 'rem' for declaring your font sizes, and 'em' to declare margin, padding, etc.

Check out this resource if you wanna learn more about ems and rems. Click Here

It makes your life easier in the future when it comes to scalability and maintenance of the code.

Cheers!

Marked as helpful

1

lunatik 10

@lunatikcoding

Posted

@undrthegraveyard thanks for the 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