Use CSS Selectors to Style Elements?

Use CSS Selectors to Style Elements?
0

#1

I thought that I turned my h2 element blue, but I guess I am doing it wrong. Can someone please type out what its supposed to look like?


#2

People will generally be hesitant to just give you a straight answer, as that doesn’t feel very instructive…

It might be more productive to post the code you’ve written so someone can explain what you’ve misunderstood. Alternatively, there are many online resources available. Try looking here for an explanation.


#3

The code that I wrote is on the link.


#4

oops. sorry. I didn’t click the link and thought you were just referencing the challenge. I think you’ve basically got it right, but those dashes and the “<” shouldn’t be there before the h2. Basically, the example that’s given on the side should be what you have except with “red” replaced by “blue”


#5

delete <-- before h2 styling and add heading <h2>CatPhotoApp</h2>
final result should look like this:
`

h2 {color: blue;}

CatPhotoApp

`

#6

Thank you so, so much! It worked!