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 styled with html and css

@Murega14

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

@djamkenny

Posted

Your code: body { font-family: "Outfit", sans-serif; font-weight: 700; font-size: 16px; line-height: 1.6; color: hsl(220, 15%, 55%); margin: 8; background-color: hsl(212, 45%, 89%); }

But you can add this: body { display: flex; justify-content: center; align-item: center; }

also, I think you should not use line-height in the body because you are only targeting the <p> and or <h1> elements.

I have noticed you used <div> all and I suggest reading about new semantic elements which is HTML5...it awesome check it out

Marked as helpful

0

@Murega14

Posted

Thank you @djamkenny

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