Lesson 26

this is a fragment from my code

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

and the error message

Oops, try again. Did you remember to set your link’s text-decoration to none;?

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

<a></a>

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

<p></p>

yet the css selector for paragraph is p, so think closely what the correct css selector for link should be

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;
}
a {
text-decoration:none;
color:#cc0000;
}

html

Result

cool

this is cool

error code

Oops, try again. Did you remember to give your link a ‘href’ attribute?

Well, that sounds like a problem in html

You need to format your code, i can’t see it. Be aware, i don’t get notifications of edits

Your p should be in lowercase

‘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;
}
a {
text-decoration:none;
color:#cc0000;
}’

html

Result

cool

this is cool

'

still no visible code. You are rushing. Take a second to look through exercises you already completed/documentation. Reflect for a second. It won’t stick if you rush (which i can observe from the mistakes in your code)