This forum is now read-only. Please use our new forums at discuss.codecademy.com.

CSS: An Overview Forum

View Course » View Exercise

169 points
1200a1bee612ebce933e5977f216d9c0?s=140&d=retro
Submitted by
stephan beltran
about 2 years ago

So i keep getting the same 2 errors on 26/26

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

whenever i submit that it says i need to add the href attribute but whenever i add it and it looks like this

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

it says i need to set the text-decoration to none which i have it set to. ive switched browsers, ive added and taken away space. i have no idea why its doing this


0 votes

permalink

is this the error message you are receiving:

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

this error is related to the html code, don't add href to your css selector. Can i see your html code?

check here how to format your code. if you update your question please leave a comment so i get a notification.

2457 points
593d545c83696644420003b7_64554016
Submitted by
stetim94
about 2 years ago


0 votes

permalink

you may not load the stylesheet.css
use this first

216 points
C8ae0167c908c41f1f1ca94f795a3eb0?s=140&d=retro
Submitted by
M.E.R.
about 2 years ago