QR code component solution

Solution retrospective
- You need to provide the width: 100% to the image so that it only takes up the available width of the parent container.
- I made a rookie mistake where I was applying the padding to the
img
instead of the parent container.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @mikewil245
Maybe increase the padding around your
<section class="card-text"></div>
as well , and add somemargin-top
between yourimg
,h1
,p
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