Design comparison
Solution retrospective
I would like to start out on JS and do the third objective of the challenge the right way, next time. I need to learn how to load data into a layout from a JSON file.
Community feedback
- @SvitlanaSuslenkovaPosted about 1 month ago
.container { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 100vh; } Try this to align(top-bottom) and justify(left-right) your project to the center. It applies to the parent component, don't forget about !!min-height!!. You can use grid instead of flex too.
Marked as helpful1@b16h22Posted about 1 month agoHey, thanks for taking the time to go through my code and providing valuable the feedback. I'll keep it in mind. EDIT: I think it plays better when resizing the screen and the content doesn't go out of bounds. Thanks! @SvitlanaSuslenkova
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