- the body is usually set to
min-height: 100vh
, I would go on and say that should be the best practice. - the image should have an alt value, it seems to me to carry a message. The message could be something like alt="QR code for Frontend mentor"
- landmark elements are one of the building blocks of a website, this challenge should at least have the
main
element. - for font sizes , it is recommended to use rems - using px values is not recommended. See the following article for further explanation. Why font-size must NEVER be in pixels
Happy coding
Marked as helpful
@vcgmchen
Posted
Hi Chamu, thanks for the feedback.
Regarding landmark elements, would you suggest that I change
<div class="card"
to <main class="card">
? Or is it better to subsume the div
into a main
element entirely? As in:
<main>
<div class="card">
...
</div>
</main>
@vcgmchen
Hi.
The first option is perfect. Change the div to <main class="card">