Blog preview card, html & css

Please log in to post a comment
Log in with GitHubCommunity feedback
- @Hummel20
Your project looks really nice! In my opinion maybe: Instead of <div class="button"><p><strong>Learning</strong></p></div>, consider using <button> or <span role="button"> if it is actually a button. If it’s just a label, then maybe <span> or <mark> would be better.
It’s better to put the publication date inside a <time datetime="2023-12-21">Published 21 Dec 2023</time> tag.
The .button class suggests a button, but inside you have a paragraph. If it’s meant to be interactive, use a <button> instead of a <div> with a <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