Changing color of an element in css

I’m not sure why this isn’t coding properly: (asterisks removed)
h2 {color: blue;}

color: changes text color, is that what you want to do? you probably meant background-color:
whats in html?

That’s correct but what are you trying to do? Like the above camper said, are you maybe trying to write css code in and html section?

It’s worth mentioning that the conventional way to write this is:

h2 {
color: blue;

When you have many key-value pairs you’ll see that it’s more readable this way, and consistency is important in coding.

Yeah that is correct, i tried to help with the issue, formatting is important too)