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

Response QR Code reader with Flex

Paul Lockyerβ€’ 50

@alittlebroken

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 am proud of myself for not having to look up the meaning or structure of code as well as follow a style guide.

I would try and make the site responsive without the use of media queries.

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

To be honest I encountered no challenges during this at all.

Community feedback

MikDra1β€’ 6,400

@MikDra1

Posted

I encourage you to use this technique to make the card responsive with ease:

.card {
width: 90%;
max-width: 600px;
}

On the smaller screens card will be 90% of the parent (here body), but as soon as the card will be 600px it will lock with this size.

Also to put the card in the center I advise you to use this code snippet:

.container {
display: grid;
place-items: center;
}

Hope you found this comment helpful πŸ’—πŸ’—πŸ’—

Good job and keep going πŸ˜πŸ˜ŠπŸ˜‰

Marked as helpful

1
Teodor Jenklerβ€’ 3,720

@TedJenkler

Posted

Hi @alittlebroken,

Nice project! To improve it, here are a few suggestions:

I would recommend purging as many divs as possible and replacing them with semantic tags. This project could easily be done with a single <main> tag with a flex column layout. (Would make your design more clean and improve SEO)

While you should have a maximum of one h1, it’s important to use h2, h3, and so on in descending order of importance. Since h1 is typically used for the page header, in this case, the first heading should actually be an h2.

Because of the shareability of this project, you should add meta OG (Open Graph) tags to create beautiful link previews and improve SEO.

Consider making the QR codes clickable, which can help older people by allowing them to use it as a link instead of scanning it.

As an extra challenge, I would suggest learning how to create custom QR codesβ€”it’s a really fun topic!

Keep up the good work!

Best, Teodor

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