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

Frontend Mentor | QR code component

@GastonOrquera

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

The body has a wrong background-color. Use the colors and font-family that were given in the styleguide.md found in the zip folder you downloaded.

To center .container on the page using flexbox, add min-height: 100vh to the main. There is no need to give the main a margin value.

Give .container a fixed max-width value, a background-color of white, a padding value for all the sides and a border-radius value. the rest are not needed. max-width:20rem/em which is 320px, padding: 1rem and border-radius: ; Give the img a max-width of 100% for a responsive image and a border-radius value.

Give h1 and p the same font-size of 15px which is 0.9375rem and the same margin-left, margin-right and margin-top values. Give p a margin bottom value.

Hope am helpful.

Well done for completing this challenge. HAPPY CODING

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