Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Stats preview card component

Irina 50

@Createira

Desktop design screenshot for the Stats preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

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.

Community feedback

Anar 700

@anar-sol

Posted

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

0

Please log in to post a comment

Log in with GitHub
Discord logo

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