Design comparison
Community feedback
- @Ezekiel225Posted 10 months ago
Hello there π.
Good job on completing the challenge !
Your project looks really good!
I have suggestions about your code that might interest you.
Consider changing the background-color of the body element to hsl(212, 45%, 89%)
body { background-color: hsl(212, 45%, 89%); }
I hope it helps!
Other than that, great job!
Happy coding.
Marked as helpful0 - @silkcoderPosted 10 months ago
Your solution looks good
I have a suggestion about the max-width property you given to body tag.
If your solution opened in a screen with width greater than 1440px, the content not get centered. So you can remove the max-width property of body tag
body { //remove max-width: 1440px; }
Once you remove this property, your content remains on cener for all sized devices.
Another point
To center the container its wise to use Flexbox properties, read more about it on the page https://www.geeksforgeeks.org/introduction-to-css-flexbox/
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