Design comparison
Solution retrospective
I am just starting out in my web development journey and would really appreciate any feedback or comment so as to improve on future challenges. Thank you in advance.
Community feedback
- Account deleted
I have one improvement for your navigation bar
when it comes to the list elements (<li></li>), don't used margin left and right to the li itself if you used, there is a possibility you forgot to remove the last list margin-right or left you declared because of that the structure of navigation bar layout can be turn to mess if the width of navigation bar is not enough to fit all of the content.
@media screen and (min-width: 600px){ // Always do this .main-menu { display: flex; gap: 2rem; } <=========================> // Never do this .main-menu li { margin-right: 2rem; } // if ever you do this you need to include this code below // the purpose of this, is to prevent the navigation bar // for unexpected layout structure .main-menu li:last-child { margin-right: 0; } }
Marked as helpful0@AmossenkaoPosted about 2 years ago@okayda Thank you so much for your feedback. I do appreciate 🙏
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