@Marley-Semende
Posted
Hi @noelhoppe. Nice work on your project. I checked out your CSS and I noticed that your hover:
rule is targeting the <li>
elements when hovered, but it's not targeting the <a>
(anchor) elements within those <li>
elements. If you want to change the text color of the links when hovering over the list items, you should adjust your CSS like this for example:
li:hover {
background-color: green;
}
li:hover a {
color: black;
}
I hope this helps. Happy coding :)
Marked as helpful