Design comparison
SolutionDesign
Community feedback
- @IryDevPosted over 1 year ago
Hey, well done for completed this challenge😁
I have some suggestions to help you to improve your solution :
- your card seem to not be correctly centered
- Give the body a min-height of 100vh
- Add the property , display: flex; justify-content: center; align-items: center; to make the card center on the vertical axis and horizontal axis
- Replace the
<div class="attribution">
by the semantic<footer>
tag
HTML :
<body> <footer class="attribution"> information about author copyright etc </footer> </body>
CSS :
body { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
I also make pull requests on your Github repo so you can merge it if the changes suit you
I hope you'll find this helpful, and your solution is really good 😄
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