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

cheapliquorβ€’ 30

@cheapliquor123

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 Cheapliquor, congratulations for your first solution and 😎 welcome to the Frontend Mentor Coding Community!

Your solution is great, you did pretty much everything here, the image and component are both responsive. This is amazing.

About the html structure, you can clean it, for example you don't need many divs all you need is a single <main> or <div> to keep all the content inside, and nothing more. The ideal structure is the div and only the image, heading and paragraph.

<body>
<main>
<img>
<h1></h1>
<p></p>
</main>
</body>

<img src="\images\image-qr-code.png" alt="qr code">

And don't forget to use the alt text to allow screen readers to recognize that img.

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

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