It did in my version ! You must have copied something incorrectly.
You had #navlist ul in your code which will look for a an unordered list that is within an id of navlist.
This is what that would need to look like to work:
But what you had was:
There is no unordered list within the id of navlist. There is however, an unordered list thas has an id of navlist which would need to be targetted differently as follows.
Which means look for ul that has an id of navlist - thats the difference from the first example. Changing the id to a class or vice-versa would make no difference.
Just thought I'd clear that up