To style the first level of a menu i would think this code would work:
Could someone please point out where I'm going wrong, thanks.
To style the first level of a menu i would think this code would work:
Could someone please point out where I'm going wrong, thanks.
Copyright © 2021 Jogjafile Inc.
It does, but since you've given no other color to the other elements they inherit the color you gave the top
<ul>element. If you give the other<ul>a color, it works fine.jsFiddle example.