Use a CSS Class to Style an Element

Use a CSS Class to Style an Element
0

#1

Hello I am Josephine. I am new to FreeCodeCamp. I started my first project and I have runed into problem. I need help; I am stuck. This is my site. Please tell me what I am doing wrong?
I don’t know if this the right place to ask question. The forum is too fast for me.


#2

The instructions state to apply the CSS class name of red-text to the h2 tag.

The declaring of the CSS class is incorrect.

h2 {"red-text" color: blue;} // INCORRECT
.red-text { color: red; } // CORRECT

CSS Class

.CLASS_NAME{..}

CSS ID

#ID-NAME{ ..}