Did you remember to set the paragraphs inside <li> tags to the text-decoration: underline;?

The text within the li is underlinedL


https://www.codecademy.com/en/courses/web-beginner-en-WF0CF/1/4?curriculum_id=50579fb998b470000202dc8b#


The results xcreen shows the li text is underlined, but the error occurs anyway.



p {
    font-family: Garamond;
}
body > p {
    font-weight: bold;
}
body > div > p { 
    color: #7AC5CD;
}

body > div > ul > li > p {
    color: #000000;
    text-decoration: underline;
}


Probable problem.
body > div > ul > li > p
hint**
use concept learnt in lesson: Swinging from branch to branch

Is this correct?

body > div > ul > li {
color: #000000;
text-decoration: underline;
}

The text is underlined which is misleading as to why I am receiving the error.

hint**
What about using this format –
X Y Z { propery: value;}

on ( ul li p )?

Recv’d same error:

Oops, try again. Did you remember to set the paragraphs inside li tags to the text-decoration: underline;?

ul > li > p {
color: #000000;
text-decoration: underline;
}

what about just ul li p ?

Same error:

Oops, try again. Did you remember to set the paragraphs inside li tags to the text-decoration: underline;?

ul li p {
color: #000000;
text-decoration: underline;
}

Did you try running this code using Firefox or IE ?

These two discussions may help…

I switched to IE and the ul li worked!

Thank you…

1 Like

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