
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
I think i did pretty well in this challenge, but i would still like some feedback on things i could improve on.
What challenges did you encounter, and how did you overcome them?None so far in this challenge just waiting for some feedback
What specific areas of your project would you like help with?Recommendations on my code too improve are very open of course
Please log in to post a comment
Log in with GitHubCommunity feedback
- @DarkstarXDD
I don't see many issues and it's a nice solution. Here are couple of suggestion.
header
is usually for content that repeats across multiple pages on a site. Usually it's positioned at the very top of a page and contains the the company/brand logo and the navbar. The content you have put inside theheader
is specific to this page. So i wouldn't use aheader
here. Also ah1
being inside theheader
doesn't sound right either. I would include theh1
and thatp
in themain
and remove theheader
.- You can definitely utilize the extra space in mid size screens. Use your browser dev tools and change the screen size and see. There is lot of unused space from around 500px to 1400px screen sizes. You are switching to the desktop layout very late. You can switch to the desktop layout much more earlier. When i did this challenge i added a tablet layout as well. On mobile screens it can be a 1 column grid. Then on mid size screens it can be a 2 x 2 grid. Then on desktop layout it can be the layout that you currently have. It's just an idea, it's up to you to do something with the extra space that's currently there.
- The
padding-top
you are using on the section calledfour-card-feature
should actually be amargin
. Generallypadding
is used to get the spacing between an element's edges and it's content.margin
andgap
is what you use to get the spacing between two sibling element. What you have done is not wrong, but i think it's a good mental model to have and follow.
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