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 with HTML and CSS

@PatrickCuentas

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


Please do not forget to leave me your feedback by taking a look at the code and if you did not understand something let me know as it is always good to be improving.

Thank you very much ❤

Community feedback

@Nick-Gabe

Posted

Awesome implementation and good semantic, congrats! But I would suggest to define a max-width in the .container, because for some screen sizes below 1024px like 1000px, it stays at 89% of the screen because of the content:

 ​.​container​ { 
 ​  ​padding​:​ ​1​rem​ ​1​rem​ ​2.6​rem​ ​1​rem​;
   // max-width: ...
 ​}
 
 ​.​content​ { 
 ​  ​width​:​ ​89​%​; 
 ​  ​margin​:​ ​0​ auto; 
 ​}

Cheers✨

1

@PatrickCuentas

Posted

@Nick-Gabe Thanks for the info I'll take a look at it 😉

0

@nlern

Posted

Awesome solution with near identical measures and 0 accessibility issues! Well done!!

0
MH 10

@MH3Web

Posted

Nice work. How did you get the correct measures?

0

@PatrickCuentas

Posted

@MH3Web Checkout the extension PerfectPixel by WellDoneCode (pixel perfect)

0
MH 10

@MH3Web

Posted

@PatrickCuentas Thanks so much.

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