QR Code Component Using CSS Flexbox

Solution retrospective
Hi! 👋
With semantic HTML, would div be ok in this situation to wrap the QR component or is there a more appropriate tag that should have been used?
HTML
<main>
<div class="card">
<img src="images/image-qr-code.png" alt="QR Code for Frontend Mentor" />
<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>
</main>
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Rebecca Copeland's solution.
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