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 using Flexbox

Angelo Rosarioβ€’ 300

@Sengsith

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

Lucas πŸ‘Ύβ€’ 104,420

@correlucas

Posted

πŸ‘ΎHello Angelo, congratulations for your new solution!

Your solution is almost perfect, there's only two things you can change to improve.

Use main to replace the div wrapping all the content and use relative units for a better perfomance between different screen sizes, for example use rem or em instead of px.

Your code is ultra clean, but if you want to do an exercise to keep it even more clean, delete all the classes and use the direct selector for each element (div, h1, img and p). This way you've the cleanest html and css structure ever.

πŸ‘‹ I hope this helps you and happy coding!

Marked as helpful

1

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