Design comparison
Solution retrospective
- sizing was a bit difficult at first
2.no area. i am sure
- no
Community feedback
- @Lo-DeckPosted over 1 year ago
Hi, well done for your challenge.
Here some tips to resize your website
body{ display: flex; justify-content: center; align-items: center; min-height: 100vh; background-color: rgb(226, 238, 248); } .background { }
I changed a few things on the body to correctly resize and center it.
Hope to be helpful.
Marked as helpful0 - @MelakuAlehegnPosted over 1 year ago
Congratulations on your first project @Olawalefaruk. the design looks good and you have made it almost the same. But you can improve on the layout of the page by centering every content on the page. yours has been pushed to the left top corner of the page. you can achieve this by targeting the body and using flexbox to center everything in it. here is a sample code you can use,
body{ display: flex; flex-direction: column; align-items: center; height: 100vh; background-color: hsl(212, 45%, 89%) }
this will center everything and will set the body the right color. I hope you'll find this helpful.
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