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

QR Code Component using HTML and CSS

@rafael-bazevedo

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

Francesco 270

@FraCav99

Posted

Hi Rafael, good work on this! :)

Your code looks clean and organized, just one thing, don't use px units for margins, padding and font-size.

For padding and margins are better ems unit, since the adapt better if the text shrinks or grow.

For font-size, use rems, since they adapt better if the user takes the time to change font size from browser settings. If you keep using pxs for font size, they won't adapt to the user preferences.

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