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


#1

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;
}

#2

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


#3

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.


#4

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

on ( ul li p )?


#5

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;
}


#6

what about just ul li p ?


#7

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;
}


#8

Did you try running this code using Firefox or IE ?

These two discussions may help..



#9

I switched to IE and the ul li worked!

Thank you...


#10

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