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 Website using HTML and CSS

@SamuelOsewa

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


The issue I had most was with CSS in terms of sizing Sizing: Are you supposed to hardcode the width and height of the elements? and if not? What is considered the best practice for that?

Community feedback

nerometa 250

@nerometa

Posted

You could do that. What I'm gonna say here might not be the best solution though:

Hardcode width and height of your card and use @media query to hardcode yet another width and height properties when your screen got smaller or bigger.

You could also use min(), max() and clamp() to do sizin. It might work a bit better.

Marked as helpful

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