Target ONLY the <a>s that are children of <li>s

I can’t seem to style the anchor nested inside of the li element.

<----------------------------------->
https://www.codecademy.com/en/courses/web-beginner-en-WF0CF/1/3?curriculum_id=50579fb998b470000202dc8b

------------------------------------------------>
Oops, try again. It looks like you accidentally removed the text-decoration from the link outside the unordered list.

Is the selector below the correct way to reach the second <a> inside the <li>?

Instructions
01. Set their text-decoration to none

li a > a {
    text-decoration: none;
    font-family: Cursive;
}



You can simply do li a.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.