Design comparison
SolutionDesign
Community feedback
- @TH3RIVPosted almost 2 years ago
Hi, @Lubka024!
Your card looks great!
There's no need or is almost impossible to get it 100% accurate without the actual design files that give you all the margins and paddings etc, so don't worry about it as long as it looks close. Now onto a few suggestions for future improvement:
- Your card should be wrapped within
main
tags, so it is easier to read the code and screen readers know what is the main content. Landmarks are important. - Try to avoid using
px
values and userem
instead. - Try to start using custom CSS properties. While it is not essential here, it is a good habit to develop.
Hope this helps!
Marked as helpful1@Lubka024Posted almost 2 years ago@TH3RIV, i've made some changes, I would love to hear your opinion!
0@TH3RIVPosted almost 2 years ago@Lubka024 hey, it looks great. I would center your card on the
body
element rather thanmain
though. Just movemain { height:100vh; display: grid; place-content: center; }
to
body { min-height: 100vh; display: grid; place-content: center; }
Other than that I have nothing more to suggest. Well done.
0 - Your card should be wrapped within
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