Design comparison
SolutionDesign
Solution retrospective
Learning to code.
Started on HTML + CSS currently
This is my attempt at this project, i'd rate my attempt 5/10. Thoughts to improve: better coding
Community feedback
- @HassiaiPosted over 1 year ago
To center the article on the page using grid add min-height: 100vh to the body and remove the margin value in the body.
body{ min-height: 100vh; display: grid; place-content: center; }
there is no need to give the body and html a height value, it is not required.
Hope am helpful.
Well done for completing this challenge. HAPPY CODING
Marked as helpful0@shauncraigdevPosted over 1 year ago@Hassiai
Thank you, this is very helpful for future projects, as I will learn how to use css better.
1
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