Change the Color of Text ,so stuck

Tell us what’s happening:

Your code so far

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

<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; InfoPath.2; rv:11.0) like Gecko.

Link to the challenge:
https://www.freecodecamp.org/challenges/change-the-color-of-text

You didn’t put anything in the “Tell us what’s happening” section. Please tell us what is going on and what steps you have tried to fix it.

hint " is not the same as ''
however either style ='color :blue' and style ="color :blue" works

ok let me try, I should be changing the elements to red

1 Like

no not successful, what any alternatives kindly

ok I cannot figure out how to change the colour of my h2 elements

changing the elements, to red has challenge me ,I will appreciate you guidance, thank you

What have you tried?

ok I have tried this code

CatphotoApp

When you enter a code block into the forum, 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

sorry cannot show the codes please check the my progress at level nine

h2 style ''color :red'' >CatphotoApp

is something like this

The following works in my file:-1:
make sure you are type double quotes instead of typing signle quote two times.

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

Still stuck ,what is the other alternative

If you copy and paste this code, it should work. Please try it and than tell us and paste a screen shot if it is not working.

am on duty ,will be back shortly

thanks it worked, I really appreciate, thanks for your concern, let me go through it to know my mistake,

could it be the spacing or what did I miss?

you typed single qoutes two times for example ’ ’ color:red ’ '
but should be using double quotes “color: red”

if it worked than mark your question as solved please.