Stuck on CSS "Descendant Selectors" | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Stuck on CSS "Descendant Selectors"

I was doing the CSS learning here and I'm unable to continue after the Descendant Selectors. I tried the code myself but it's not letting me continue. Is anyone else having this issue?

5th Jan 2023, 7:56 AM
Naushad Sayeed
1 Answer
0
I think you are a little unclear about the html tags. links are usually represented by anchor tags <a></a> and not <li> which is used to represent items of a list. hence, you can solve the challenge with the code below navigationLinks = document.querySelectorAll('nav a');
5th Jan 2023, 8:34 AM
Mike Clark
Mike Clark - avatar