Design comparison
Solution retrospective
Any feedback will be appreciated.
What challenges did you encounter, and how did you overcome them?I am a newbie at learning web development. Recently I have learnt HTML, CSS. I think doing the mobile version was bit challenging. Overall , I enjoyed doing this project. And hope to do more in future.
What specific areas of your project would you like help with?I want help in fixing the Background Color.
Community feedback
- @AdrianoEscarabotePosted about 4 hours ago
Hello Rafiza Hanif Rahd, how are you? I was really pleased with your project, but Iβd like to offer some advice that might help:
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; }
The rest is spot on.
Hope itβs helpful to you. π
0 - @hitmorecodePosted 1 day ago
Nice well done looks good. I don't understand what kind of help you need fixing the background color. It looks OK to me. Just a few thing that I want to point out.
- On the body it's good practice to use min-height instead of just height.
- Why are you using so many media queries? You can do all this with just one media query.
I hope you find this helpful. Keep it up ππ
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