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

Simple HTML and CSS QR code solution (less than 50 lines)

Dion 150

@dionlow

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


All feedback welcome! I can take a look at your project if you would like too!

Some questions that I had:

Where does Google fonts give the embed link? I found an example embed link for a different font on stack-overflow and swapped out the name in the url, but couldn't find the actual link on the Google Fonts website.

Why does the font look likely different? The font weight looks different even after copying the style guidelines.

Community feedback

Hassia Issah 50,670

@Hassiai

Posted

To center .container on the page using flexbox, replace the height in the body with min-height: 100vh.

There is no need to give .container a max-height value. Give the img a max-width of 100% for a responsive image.

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