Design comparison
Solution retrospective
As it is my first project after looking at tutorials and never making my own, I am pretty proud.
What challenges did you encounter, and how did you overcome them?The chellenges are the width and height. I dotnt quite understand % , rem and pixels when to use them, wven tho I used them and t works.
What specific areas of your project would you like help with?The height and width properties, and metrics.
Community feedback
- @AdrianoEscarabotePosted 5 days ago
Hey MarkoTintor23, 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 helpful0 - @SymplyteeziyPosted 6 days ago
I don’t think focusing on using height is really a better idea. Using padding and width will solve a lot of problem. You know height changes according to your screening size. Using grid is also a better idea.
1@MarkoTintor23Posted 6 days ago@Symplyteeziy thank you for the feedback! I will do a lot more chellenges and will improve!
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