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

Responsive QR Code Card

@nodegreecode

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


What are you most proud of, and what would you do differently next time?

I finished pretty quick the component. Next time I would work a bit on padding to get text align exact liek in the example.

What challenges did you encounter, and how did you overcome them?

The most challenging was to center the QR Code Card in the middle of the view port.

Community feedback

@Sara-414

Posted

Great job! Very nicely centered and works on a range of screens. As you already know, just a few sizing tweaks are needed to match the design.

The code could benefit from more semantic HTML elements (such as <main>, <section>, and <footer> instead of generic <div> tags). Here's a quick article on why more specific tags are helpful/necessary: https://developer.mozilla.org/en-US/docs/Learn/Accessibility/HTML

To improve accessibility, consider adding alt text to the QR code image. Keep up the good work!

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