Design comparison
Solution retrospective
Adjusting the width of the card to be mobile responsive, ended up using fixed width :(
Community feedback
- @HassiaiPosted almost 2 years ago
Replace < div class="container"> with the main tag and<h2> with <h1> to fix the accessibility issues.
To center a content on a page, add min-height:100vh; to .container and remove the height value
give #qr-code width:100% or max-width:100% instead of giving it a specific width and height values.
Use rem or em as unit for the padding , margin, width and preferably rem for the font-size for more on this watch this https://youtu.be/N5wpD9Ov_To
Hope am helpful Happy Coding
Marked as helpful1@AtharanePosted almost 2 years ago@Hassiai thanks for the suggestions I'll surely incorporate those changes 😃
0@AtharanePosted almost 2 years ago@Hassiai Does this look good now? https://github.com/Atharane/qr-code-component.io
0@HassiaiPosted almost 2 years ago@Atharane , replace <div class="attribution"> with the footer tag , sorry I forgot to mention this. everything is good. Well done and congrats
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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