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-main

Othman 380

@Rizqy777

Desktop design screenshot for the Stats preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

@rohitd99

Posted

Hi Othman

Congrats on completing the challenge.

Firstly you have kept the title as a h2 heading but it must really be a h1 heading. Each page must have a single h1 heading signifying the page title. Also headings must always be from h1 through h6 in order. These are mainly for semantic reasons and SEO. Secondly the header image can be a background image since it has no specific meaning. Other than these a really nice solution.

Hope it helps

Marked as helpful

0

Othman 380

@Rizqy777

Posted

@rohitd99 Thanks for your advice, the reason why I used an "h2" instead of an "h1" is because I imagine that this card would be part of a web page that would have an "h1", but you are right, I will change it, thank you.

0

@rohitd99

Posted

@Rizqy777

I see, if it were a part of another page and was like a component then h2 might have been the right choice and if it is on it's own page then h1 would be the correct one.

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