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
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

intro-section-with-dropdown-navigation

Jiwon Suh 210

@suhjiwon95

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


What would be the better way to tackle this design?

I'm open to all suggestions! :D

Community feedback

Nature Son 1,100

@NatureSon22

Posted

Using "id" as a selector in CSS is not recommended because it has the highest specificity among all selectors. This means that styles applied to an element with an "id" can be challenging to override, leading to potential conflicts. To avoid such issues, it's better to use classes or compound selectors. If you don't want to create additional class names, you can combine multiple selectors to target specific elements without relying solely on "id" selectors. This approach will make your CSS code more manageable and less prone to conflicts.

Marked as helpful

0

Jiwon Suh 210

@suhjiwon95

Posted

Thank you for your suggestion! @NatureSon22

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