Design comparison
SolutionDesign
Community feedback
- @igafshellPosted about 2 years ago
Hey Marcin!
Congratulations on completing your first challenge on Frontend Mentor!🎉🎉
I see that you've put much effort into your project and written nice code. I got some tips for you:
- Use
font-size: 15px
on the.card
,font-weight: 400
on the<p>
andfont-weight: 700
on the<h1>
. - Simplify the html structure by removing the
.main-screen
div, and apply its styling to the body instead. And to keep the footer stuck to the bottom putmargin: auto
on the.card
. This will keep the footer down and center the card at the same time. I advise you to read this article if you want to learn more about that. - Add
box-content: border-box
to the css reset. This will make sizing easier. Read more about it here. - This is optional, but you could add some padding, margin and border-radius to the footer to make it more stylish.
That's about it. Good luck in your next projects.
Happy Coding!
Marked as helpful0 - Use
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