Design comparison
SolutionDesign
Solution retrospective
The only question I have is:
- Should I have used a different HTML element for the card? I used an
<article>
tag as I've seen others use that when building out cards.
Community feedback
- @stijnmeershoekPosted over 2 years ago
An ‘<article>’ is perfectly fine, according to the official doc an article should be used if it is component that is independent, self-contained content.
An article should make sense on its own and it should be possible to distribute it independently from the rest of the site.
So for this an article tag would be the right one.
Marked as helpful1
Please log in to post a comment
Log in with GitHubJoin 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