Submitted about 2 years agoA solution to the QR code component challenge
QR Code Component (Solution)
P
@waffledood

Solution retrospective
For the qr-code-content
container class, i had set a max-width: 550px
so that the container class wrapping the h1
& span
elements are within the width of the QR code image.
I'm sure this isn't the right way to do this.
Is there a programmatic way or "best practice" way so that the qr-code-content
container will be as wide as the QR code image or whatever image that is placed there?
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Haikal Yusuf's solution.
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