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

HTML & CSS

majkezaa 20

@majkezaa

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

@mussino

Posted

To improve the semantic structure of the provided HTML code, you can consider using appropriate HTML elements instead of multiple <br> tags. Here's a suggestion:

<div class="qrcode">
    <img src="image-qr-code.png" alt="QR Code">
    <div>
        <h1>Improve your front-end skills by building projects</h1>
        <p>Scan the QR code to visit Frontend Mentor and take your coding skills to the next level</p>
    </div>
</div>

In this revision:

I replaced the <br> tags with appropriate paragraph elements <p> to maintain semantic structure and improve readability. Added an alt attribute to the <img> tag for accessibility.

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