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 custom css

korken 10

@kjdutaro

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?

I'll try to use tailwindcss next time.

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

I struggled a bit with placing the component vertically on center with flex, so I just opted to use transform instead.

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

I managed to understand a bit of at least everything that I used when I wrote this one. But one thing I really struggle to understand is the assigning of values to the sizes. What sizes should I use (px, vh, rem, em)? What are their differences and what is the best practice when assigning these values?

Community feedback

@vaguepizza

Posted

well It's recommended to use rem for all your font sizes, and ems for depending on a situation, I'll link a couple of videos here, and if you watch them trust me you'll be clear with what, where and why you should be using rem or em units

Em and Rem Explained

Why not to use em for font-sizes

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