a few things wrong here.
First, your putting HTML content inside of your style tag. Consider the style tag as a pocket of CSS content.
The challenge wants you to add the
.red-text class to the h2 tag.
That would look something like this.
Note that the class part is inside of the opening h2 tag.
So instead of adding anything to the stylesheet, were just adding
class="red-text" to the opening tag of the h2.
This leaves us to the styling part. Here we select the h2 tag that has a class of red-text and give it text color of red.
It would look more like this.
.red-text part says that we are looking for an
h2 tag with a class of
.red-text. The period before
red text is what tells our browser that
red-text is a class.
If you need help grasping this, I would check out this site for basic css syntax.
Just stick with freecodecamp for the bulk of it.
Once you look at it for long enough it’ll click