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 and css custom properties

@Lescano713

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

@jefiedler

Posted

The solution is good. The design was kept as intended. It is normal that a design cannot usually be reproduced 1 to 1 on the web. Which is why there is a discrepancy. This is not a big deal.

Feedback on the CSS:

The only thing I notice is that your CSS is very difficult to read. This applies especially to the section from body, .box-container { } . Personally, I would separate the classes more. It's nice that you use CSS features here, but unfortunately this makes it a bit unreadable. In addition, you can only use this CSS for this project and only for this area. If you split up the CSS more, e.g. into the classes .card, .card-content, .card-media, you can also use them elsewhere. In addition, this increases readability.

Feedback on the HTML:

The HTML is generally good. It might make sense to use main for the div with the class box-container and the tag footer for the div with the class attribution instead of the divs. This is semantically more correct HTML. If this were a React component, I would also use divs.

Otherwise, all other tags fit, I would possibly replace the h3 tag with an h1 tag and possibly adjust the font size. But this is not absolutely necessary.

Otherwise, a really great job. Keep up the good work.

Marked as helpful

1

@mukund-chander

Posted

Initial Template text at the bottom needs to be removed. Other than that the webpage is 1:1.

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