Design comparison
Solution retrospective
Greetings,
Let me know what you think
Community feedback
- @pikapikamartPosted about 3 years ago
Hey, great work on this one. Layout in desktop seems fine, it responds fine as well in screen changes, but for the mobile layout, horizontal scrollbar appears. The reason is that on mobile layout, the
margin
being used on the icon images is much larger on the container. You can inspect it in dev tools and see what I mean.Also, before going on. It is a good practice to have reset or base stylings. This would make the project more easy to handle, and the most important one is this. Add this in your styling.
html { box-sizing: border-box; } *, *::before, *::after{ box-sizing: inherit; }
Explaining it would be long hehe so you can just search it up in google. But trust me, always include those in your css okay. You will notice something great when applying stylings to an element, especially
padding
andmargin
.Some suggestions would be:
- Always have a
main
element on a webpage. This helps users to properly navigate your website. On this one, the.container
element could have usedmain
element instead ofdiv
. - The text below the
h1
element should be insidep
tag. Always include text insidep
tag and not justdiv
. You can nest thep
tag inside thediv
as well. - The
h3
tags could have beenh2
. Do not skip a level of heading tag, if you useh3
make sure thath1, h2
are present, not skipping any level.
Only those. Also remember to apply those stylings in every project. It will make things easier to handle. Great work again on this.
Marked as helpful1@distephano30Posted about 3 years ago@pikamart so many useful tips! thank you very much! I'll apply your suggestions
0 - Always have a
- @ConradMcGrifterPosted about 3 years ago
well done, the site looks good to me. The only thing I would suggest is that you put a
max-width
on your main container so that it doesn't stretch out at bigger screen sizesMarked as helpful0
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