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

CSS: An Overview Forum

View Course » View Exercise

165 points
53ed3234548c35173c0002ea_245981653
Submitted by
Sabrina Wolfheart
over 4 years ago

2.3 MY CODE IS WRONG

I was just working on lesson 2.3 Many selectors, many properties. My code was right; I checked it with others in the FAQ forums. They seemed to be having the same problems, too.

** edit **

I just figured it out and wanted to help others as well.

Your Code Should Look Like This:

h3 {
color: red;
}
p {
font-family: Courier;
}
span {
background-color:yellow;
}

If you put in this code (this is the code that passed!) and it won't work, then try reloading the page and checking again.


3 votes

permalink

h3 {

color: red;

}

p{
font-family: Courier;
}

span{
background-color: yellow;
}

342 points
51effcfe282ae3fee700510d_379741274
Submitted by
Samadhi rojas petrozzi
over 4 years ago

1 Comment

0c15abaea72b095320e60fca8ad35f1a?s=140&d=retro Ric Andrews almost 4 years ago

thank u so much


0 votes

permalink

You're missing the brackets at the beginning/ending of each property. Like so:

p {    
    font-family:Courier;
}

240 points
50f5a0c9ac4fb45edb00076b_12988548
Submitted by
Khidr
over 4 years ago