Design comparison
Community feedback
- @denieldenPosted almost 3 years ago
Hi Shivraj, great job!
Try to use flexbox to
App
class for center the element and remove allmargin
fromdashboard
class. Read here -> flex guideAlso set
heigth
of body to100vh
because Flexbox aligns to the size of the parent container.In the end, add
main
tag and wrap the content inside it to improve Accessibility.Hope this help and happy coding ;)
Marked as helpful0 - @karimfilaliPosted almost 3 years ago
Hello, congratulations for finishing your first FrontEndMentor challenge ! Your card is very great, the sizes fit good with the expected design. However, you have some accessibility issues. To fix them, you must have a <main> tag in your body. The .container div must be in the main tag or you can add
role="main"
to .container . Also, every website must have a h1 for accessibility reasons. Your h2 should be a h1. But use <h1> tag only once in main heading element.Very great job though !
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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