Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Request path contains unescaped characters
Not Found
Not Found
Not Found
Not Found

Submitted

Intro Section Challenge

Amos 170

@Amossenkao

Desktop design screenshot for the Intro section with dropdown navigation coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

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 helpful

0

Amos 170

@Amossenkao

Posted

@okayda Thank you so much for your feedback. I do appreciate 🙏

0

Please log in to post a comment

Log in with GitHub
Discord logo

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