Design comparison
Solution retrospective
Very much a beginner in CSS, took a while for me to center the whole component, doing it horizontally worked fine but vertically it just would not. I realised after doing some research that it needed a height (?) even though the "component window" had a height, I needed to set the body to have a height as well. At least I feel like I have understood and learned how it is working :) Any feedback is appreciated!
Community feedback
- @shalomkerryPosted 10 months ago
keep on practising. Learn coding by killing zombies. centering elemetns would be easier after mastering flexbox. Check it out if you want to learn how to use flexbox.
https://mastery.games/flexboxzombies
0
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