Stats preview card component

Solution retrospective
Hello everyone! I would like to know if I can make my code more semantic. I was thinking about /section/ tag, but I was not sure.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @anar-sol
Hello! For the semantic, I personally used "article" tag for the card, as I saw it as an independent content. I also used a list for the stats and a heading "h2" for each stat name, not for the stat value.
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