
Solution retrospective
still struggle a lot with aligning/centering and etc.. its hard as fuck for me rn
What specific areas of your project would you like help with?idk, just generall help
Please log in to post a comment
Log in with GitHubCommunity feedback
- @AdrianoEscarabote
Hey ronilucylucy, how’s it going? I was really impressed with your project’s result, though I have some advice that could be helpful:
Using Flexbox or Grid on the
body
to center elements ensures a more responsive and adaptive layout, fitting different screen sizes seamlessly. It avoids manual calculations and constant adjustments needed withmargin
,padding
, or absolute positioning. These techniques provide more consistent alignment and simplify the code.flexbox:
body { display: flex; justify-content: center; align-items: center; min-height: 100vh; }
grid:
body { display: grid; place-content: center; min-height: 100vh; }
Everything else looks great.
Hope this helps! 👍
Marked as helpful - @oshudev
Hello there 👋. Good job on completing the challenge!
About your struggle, I suggest you learn how to structure the
html
elements properly first. Being able to structure it well will help you style it properly. Since you're already done with the project, I suggest you take a look on my solution on how I did it. Just take it with a grain of salt because everyone has different ways of doing it.I hope you find it useful! 😄
Happy coding!
Marked as helpful
Join 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