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

Layan Khalilβ€’ 220

@Layan-khalil

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

rayaβ€’ 2,850

@rayaatta

Posted

Hello πŸ‘‹layan-khalil, congratulations on completing this challenge πŸŽ‰

I have some suggestions you might find useful.

1 Try to make your html more Semantic by wrapping the main page content inside a <main> tag . Replace <div class="container"> With <main class="container">. This changes nothing visually but Using it makes all the difference. Using semantic markup improves

SEO

And user experience (accessibility) for people using assistive technology such as screen readers. You can find out more about the main tag in this article πŸ“°.

2 Since divs carry no semantic value replace <div class="preview"> with <section class="preview"> This also improves readability of your code, SEO and accessibility.

I hope this helps πŸ™ƒ

Your solution is amazing πŸ‘

Happy coding ✌️

Marked as helpful

0

Layan Khalilβ€’ 220

@Layan-khalil

Posted

Don't worry , next time I'll take your advice into consideration thank you @rayaatta

1

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