Lesson 26: CSS An Overview...what's wrong..?


#1

link {
text-decoration: none;
color: #cc0000;
}
I did it but it keep saying Oops, try again. Did you remember to set your link's text-decoration to none;?
What's wrong with this...


#2

Instead of 'link' the selector should be set to 'a'

'a' is the default selector for any hyperlinks.

Hope this helps :smiley:


#3

I agree with eremis, link is a word we use to describe this html element:

<a></a>

in the same fashion, we use paragraph to describe this html element:

<p></p>

the css selector is equal to the opening tag without < and >. so p, and not paragraph, same for link


#4

Thank you..! I'll try...


#5

yay..! it worked...thanks..!