Design a button: add a link

this is my css

img {
display: block;
height: 100px;
width: 300px;
margin: auto;
}

p {
text-align: center;
font-family: Garamond, serif;
font-size: 18px;
}

/Start adding your CSS below!/
div {
height:50px;

border-color:#6495ED;
border:2px;
border-width: 4px;
border-style: dashed;
border-color: red;
border-radius:5px;
margin:auto;
text-align:center;
}
link{
text-decoration:none;
color:red;
font-family:verdana;
}

but the error message says:Oops, try again. Did you remember to set your link’s text-decoration to none;?

does anyone know what is wrong?

link is a word used to describe this html element:

<a></a>

paragraph is a word used to describe this html element:

<p>i am a paragraph</p>

to target a paragraph in css i would use the following:

p {
  property: value;
}

now i will leave it to you, to figure out what the correct css selector for link is

1 Like

thank you i worked it out; a{