What am i doing wrong?


#1

on exercise no. 8 (Can U Swing it?):

4th step asks me to place underline as text-decoration. this is my CSS:

p {
font-family: Garamond;
}

body > p {
font-weight:bold;
}

div > p {
color: #7AC5CD;
}

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

Yet i am constantly receiving this response from Codecademy:
"Oops, try again. Did you remember to set the paragraphs inside

  • tags to the text-decoration: underline;?"

    P.S: I luv using Codecademy. it is a great way to learn coding skills in such an interactive manner.


  • #2

    you need to specify the paragraph inside the list, change your css selector to li p (this is mentioned in the instrutions)


    #3

    thank u sooo much!!!

    looks like that this goes to show that even one single character in programming can have the most disastrous impact on the entire product.


    #4

    Yes absolutely true :slightly_smiling: