So, I get that the spec requires you to have an ID =“nav-bar” in a element. I did that. I have noticed that in the example provided by FreeCodeCamp, they did not define #navbar anywhere in CSS. So I tried this as well.
When I run the tests I get the fault message “#nav-bar not defined”, which seems fair enough. But running the tests on their example code does not give this message, in fact it gives a ‘pass’. Here is their example code: https://codepen.io/freeCodeCamp/pen/RKRbwL
Does this not seem weird? Am I missing something? To me it seems logical to define an ID if you’re going to use an ID - otherwise why would you have it? This is not the only example of theirs where this occurs, so I wonder if there is content to the course I have missed or overlooked?
Thx
stubir