QR code component design with HTML and CSS
Design comparison
Community feedback
- @HassiaiPosted almost 2 years ago
In the html replace <div class="container"> with the main tag and the <h4></h4> with <h1></h1> To center a content on a page, replace height:100vh with min-height-100vh; Give the img a max-width value of 100% instead of giving it a height and width value. There is no need to give the body a width value of 100% and a height of 100vh in the media query. In the media query give the body a width 80% or 90%. this will be okay You did not upload the qr-image to the GitHub-repository. You did a good job. Hope am helpful. HAPPY CODING
Marked as helpful1@Rabiaismail21Posted almost 2 years ago@Hassiai thanks for correcting my code. Why the image is not displaying?
0@HassiaiPosted almost 2 years ago@Rabiaismail21, you did not upload the image to the GitHub repository
1
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