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

@ahmedafsa

Posted

Hello @Owner-test!

I noticed that you're using a percentage value for the component's width. this approach could distort the appearance of the component, especially when the screen size changes

It's better to use rems or pixels such as max-width: 18rem or max-width: 300px for example!

Best wishes to you!

Marked as helpful

1

ZAMALKAWY 10

@Owner-test

Posted

What is the difference between rems and pixels? @ahmedafsa

0

@ahmedafsa

Posted

@Owner-test But in general using rems is better to make a responsive website

Marked as helpful

0
ZAMALKAWY 10

@Owner-test

Posted

@ahmedafsa thanks

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