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

Devesh 120

@devesht21

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


First try! How is it? What are the mistakes that I should not repeat next time?

Community feedback

@Fazyyy

Posted

Not really a criticism but just an option for next time, your parent section with the class "section-qr" seems to only provide the functionality of making the background color full screen. Next time maybe consider applying the background color to the body element and giving it the css attribute of min-height:100vh;

As others ahve pointed out, using a "main" element rather than a "section" would have been more appropriate.

Marked as helpful

0
Travolgi 🍕 31,420

@denielden

Posted

Hi Devesh, I took some time to look at your solution and you did a great job!

Also add main tag and wrap the card for Accessibility and remove all unnecessary code, the less you write the better as well as being clearer: for example the div container of image

Overall you did well :)

Hope this help and happy coding!

Marked as helpful

0
Jérémy 1,020

@jrmydix

Posted

Hi! Well done!

If this can help, I have a suggestion:

  • Fix accessibility issues: to do so, change your <section class="section-qr"> to <main class="section-qr">.

If you have any questions feel free to ask, I'll try my best to help and answer! 🙂

Marked as helpful

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