Marcos Travagliniā¢ 4,920
@Blackpachamame
Posted
Greetings! you have done a great job š Hey your solution is amazing! š¤©
š Some accessibility and semantics recommendations for your HTML
- To improve the semantics of your HTML, you can change your
<div class="card">
to a<main class="card">
- You can apply
display: block
to the image to remove the white space generated underneath. Although visually in this case it is irrelevant, it helps you better calculate the space with other elements - For your
<div class="date">Published 21 Dec 2023</div>
you can use thetime
tag:<p class="date">Published <time datetime="2023-12-21">21 Dec 2023</time></p>
. More info
0