QR code component solution

Solution retrospective
Proud to have at least built something today
What challenges did you encounter, and how did you overcome them?Trying to center the image with flex, first was confused why it did not work, turns out I need to put a height to the body.
What I did,
- Put a 100vh height to the body,
- Then flex justify and align center
feedback is welcome
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Harsh-Kumar-Dwivedi
Hi @lstrbvry ,
I think you can prefer to replace
<div class="main">
with<main>
element,<div class="main-text-title">
with<h1>
. These will improve accessibility.Hope it helps !
Stay Happy & Healthy !
Happy Coding !
Marked as helpful
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