Qr using HTML and CSS

Please log in to post a comment
Log in with GitHubCommunity feedback
- @Hassiai
The <div class="attribution"> should be out of <div class="qr"> . Replace<div class="qr"> with the main tag, <h2> with <h1> and <div class="attribution"> with the footer tag to fix the accessibility issues. for more on semantic html visit https://web.dev/learn/html/semantic-html/
Give the img a width of 100% or a max-width of 100% instead of a fixed width and height values. Give .caintain a padding value for all the sides and h1 a margin-bottom value or p a margin-top value for the space between the text.
Use rem or em as unit for the padding, margin, width and preferably rem for the font-size for more on CSS units watch this https://youtu.be/N5wpD9Ov_To
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful
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