@vanzasetia
Posted
Hi, CalvinSales!
Alternative text should not be hyphenated ("frontendmentor.io-qr-code"). Alternative text is not a code (like a class name). It should be human-readable. So, the better alternative text is the one that @MelvinAguilar has suggested.
Use <body>
element as the container of the card. Then, use the <main>
element as the card element. This way, you don't need any <div>
elements.
Also, for the <div class="text">
, you want to do these instead:
- Add
margin-top
to the heading to give some whitespace between the image the heading, and - Use the
padding
of the card to control the width of the text.
I hope this helps.
Marked as helpful