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

CSS: An Overview Forum

View Course » View Exercise

155 points
52fd5660631fe96c3e000c21_729435154
Submitted by
Gianna Scrivo
over 3 years ago

im stuck on css an overview 9/26

Cant seem to get the color to turn red, not sure if im suppose to put it in index or style sheet


2 votes

permalink

You should put in the stylesheet.css tab, and the code is:

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

1365 points
55283f9de39efe95f40002ee_927873051
Submitted by
Mr. Derp
over 3 years ago

1 Comment

55a10fac62362e8d4fa85247be8363e3?s=140&d=retro Corrant about 3 years ago

Thanks for answering


0 votes

permalink

thank you!!

155 points
52fd5660631fe96c3e000c21_729435154
Submitted by
Gianna Scrivo
over 3 years ago

1 Comment

55283f9de39efe95f40002ee_927873051 Mr. Derp over 3 years ago

No problem


0 votes

permalink

Or simply this code...

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

I used h3 stands for h1,h2, and h3

259 points
Picture
Submitted by
Remar DueƱas
about 3 years ago

1 Comment

55a10fac62362e8d4fa85247be8363e3?s=140&d=retro Corrant about 3 years ago

Thanks for answering