Many selectors, many properties


#1

stylesheet.css

body {
background-color; Yellow
}
h3 {
color: red;
}

p {
font-family: Courier;
}

Oops, try again. Make sure you set your span tags to background-color: yellow!


#2

You typed semi-colon instead of colons


#3

Thank you so much, now i have this problem

Oops, try again. Make sure you set your span tags to background-color: yellow!

could you explain me please?, thank you!


#4

Can you please upload a screenshot of your code?


#5


#6

Sorry for the long replay.
So in your HTML code, look at this line:

<p>It makes webpages look <span>really rad</span>.</p>

What you need to do, is just to add a style attribute to the span tags that contains the background-color: yellow.
You can do it by typing this:

<p>It makes webpages look <span style="background-color: yellow">really rad</span>.</p>

#7

You can, but don't. Instead add the new CSS code to the CSS file.


#8

Hey there,

You wrote "body" instead of "span". It should look like this:

span {
background-color: yellow;
}

I hope this helps :slight_smile:


#9

h3{
color:red;
}
p {
Font-family:Courier;
}
p
span{
Background-color:yellow;
}/span