@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