Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive QR code page using HTML,CSS

@Olamiposi-cloud-coder

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

Hassia Issah 50,670

@Hassiai

Posted

Replace<div class="container">with the main tag to fix the accessibility issues.

To center .card on the page using flexbox, add min-height:100vh; and align-items: center:

Use rem or em as unit for the padding, margin, width and preferably rem for the font-size for more on CSS units click here

Give .card a padding value for all the sides instead of a heigh value. give the img a max-width of 100% instead of a width and height values. Give h1 and p the same padding-left, padding-right and margin-top values.

Hope am helpful.

Well done for completing this challenge. HAPPY CODING

0

@Olamiposi-cloud-coder

Posted

@Hassiai Thank you so much i really appreciate

0

Please log in to post a comment

Log in with GitHub
Discord logo

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