Cardbox using pure CSS and figure tag in HTML

Solution retrospective
Do you think Figure and Figcaption semantic tags are suitable for the card's image and image tag? feel free to share your thoughts!!
Please log in to post a comment
Log in with GitHubCommunity feedback
- @xphstos
You should think it like this.. Does the learning tag and the published has anything to do the image? Not quite, the learning has to do with the content of the card, meaning it's a tutorial article and the publish date obviously has to do with when the article was published. The image is not even needed to give meaning to the content of the article. Figcaption should describe the contents of a figure if those are media elements and only if it gives value to the user.
In our case I don't see the value. It's plain decorative.
Marked as helpful
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