Having trouble with lesson 26: Links and text decoration

https://www.codecademy.com/courses/web-beginner-en-TlhFi/4/5?curriculum_id=50579fb998b470000202dc8b

I’m not sure what’s wrong with what I’m putting into the code but the error message:
Oops, try again. Did you remember to set your link’s text-decoration to none;?

If someone could help me figure this out that would be great.

```

h1{
font-family: Verdana, sans-serif;
color: #576D94;
}

p{
font-family: Garamond, serif;
font-size: 18px;
color: #4A4943;
}

img{
height: 100px;
width: 300px;
border:1px solid #4682b4;
}

link{
text-decoration: none;
color: #cc0000;
}

<do not remove the three backticks above>

HI where you put link you should put a

a {
  #here put your code
}
2 Likes

link is just a word we use to describe this html element:

<a></a>

in the same way we use to describe paragraph for this html element: <p></p>

the css selector for paragraph is p (the opening tag without < and >, so what do you think the css selector for link is?

Cool, thank you.
And it should be a{
}
Like wizmarco pointed out.

love you man…
:kissing_heart:

1 Like