Design comparison
Solution retrospective
Was having issues with aligning the text in the qr code so that it fit on the lines as per the design file. Any help on how to do this? I was just messing about with margins. Thanks
Community feedback
- @HassiaiPosted almost 2 years ago
Replace<div class="container">with the main tag and <div class="attribution"> with the footer tag to fix the accessibility issues. click here for more on web-accessibility and semantic html
To center .container on the page using flexbox, replace the height in the body with min-height. There is no need for margin:0 auto to center it.
Give p and h1 the same margin-left margin-right and margin-top values, the margin value can be 1rem and a font-size of 0.9375rem which is 15px.
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful1
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