Can't get further after step 9 "Change the Color of Text"

This is what I see at instructions:


Here’s how you would set your h2 element’s text color to blue:

<h2 style="color: blue">CatPhotoApp</h2>

Change your h2 element’s style so that its text color is red.


Syntax looks ok and it changes h2 color to blue but when I Run Tests, it fails saying “Your h2 element should be red.”.

It doesn’t let me pass this point. HELP!!!

Thanks.

1 Like

Have you changed the color value from blue to red?

That actually worked. Many thanks dude.

So for others, it worked with:

<h2 style="color: red">CatPhotoApp</h2>

I’ve edited your post for readability. When you enter a code block into the forum, remember to precede it with a line of three backticks and follow it with a line of three backticks to make easier to read. See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

markdown_Forums

CatPhotoApp

Don’t forget that the first step of “read, search, ask” is “read”. :wink: