Navigation ID's

I’m wondering if each ID use to navigate to certain parts of pages need to also be included in CSS? Or would simply listing the div ID that corresponds with the navigation ID be enough? I just hate having a ton of empty ID’s in CSS, and I’m sure theres a cleaner way to do this.


You don’t need to include anything in your CSS file that you don’t need to style. Just because you have an element with an id in your HTML does not automatically mean that you need to create an entry for it in your CSS file.

Gotcha. Makes sense. Halfway through my project I just realized this, haha. Thanks for the answer!