Design comparison
SolutionDesign
Community feedback
- @romila2003Posted about 2 years ago
Hi @Grimjow-immortal,
Welcome to the frontend mentor community and congratulations for 🎉 for completing your first challenge, the card looks great. I found some issues I want to address:
- It is best practice to wrap the main content within the
main
tag which would ensure that your content is wrapped within the correct landmarks e.g.<main class="container"></main>
- You should also wrap the footer within the
footer
tag e.g.<footer class="attribution"></footer>
- Your
img
tag is missing thealt
attribute which is important images contain this attribute - Instead of using the
p
tag for the title, I would recommend you to use theh1
tag and keep thep
tag for the description - The
font-family
property is missing for the texts and can be found within the style-guide - Instead of using the
margin
property, you can use theflex
property to center the card e.g.
body { display: flex; align-items: center; justify-content: center; min-height: 100vh; flex-direction: column; }
Overall, great attempt and wish you the best for your future projects so keep coding 👍.
Marked as helpful0 - It is best practice to wrap the main content within the
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