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

componente de qr code utilizando HTML e CSS

@odevlucass

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

P
yele.m 330

@YelemyahM

Posted

Hello Coder ! Good Job on completing the challenge !

I have a suggestion for about your code :

  • In your css file, I’ve noticed you’re using width: 100vw; and height: 100vh; to set the width and height of the body. While this works on many devices, it can cause issues on mobile browsers, where the viewport height can include parts of the UI like the address or navigation bars. This could lead to unwanted scrolling or layout shifts when those bars appear or disappear.

  • Consider using min-height: 100vh; instead of height: 100vh; to ensure the layout adapts more smoothly across different devices without breaking when these UI elements are present.

I hope you find it useful ! Good Luck and happy coding !

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