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

QR Code Component

danyx75 110

@danyx75

Desktop design screenshot for the QR code component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


  1. Putting a white background with an image inside of it with text

Community feedback

Hassia Issah 50,670

@Hassiai

Posted

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

Increase the max-width of .background for it to be equivalent to the width of the design. max-width: 320px. Give the img a max-width of 100% instead of a width.

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.

Use relative units like rem or em as unit for the padding, margin and width values, instead of using px which is an absolute unit. For more on CSS units Click here

Hope am helpful.

Well done for completing this challenge. HAPPY CODING

Marked as helpful

1

danyx75 110

@danyx75

Posted

@Hassiai Thank you for the information that is something I was having a hard time was making the background a little more bigger or almost having the right size

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