How can i change the style of color

Syntax for style:

<p style="property: value;">ladhflkshf</p>
1 Like

HTML Basics III
13. Spantastic

its not working tried that already…

With property and value replaced with color and red?
What does the error say?

Oops, try again. Make sure only to wrap the word “red” in the tags!

Can I see your code?

This text is black, except for the word red!

This text is black, except for the word red!

Oops, try again. Make sure only to wrap the word “red” in the tags!

This text is black, except for the word red!

Oops, try again. Make sure only to wrap the word “red” in the tags!
[/quote]

what is it that i did wrong

you need to format your code like this:

make this symbol(`) three times in front of your code. And at the end.

like this:

<p>
Hello
</p>
1 Like

(

This text is black, except for the word red!

)

no I mean this symbol `

1 Like

or click this:

1 Like

‘’’

This text is black, except for the word red!

'''

im sorry im getting confused…

https://discuss.codecademy.com/t/how-do-i-format-code-in-my-posts/51139

That should explain it.

you are supposed to make one word red with span:

<span>red</span>

sorry @datfatcat I took your topic

1 Like

That’s alright :slight_smile:
I’m slightly busy at the moment so thanks.

1 Like

@iayala19 does that answer your exercise?

got it passed! thank i appreciate your help:blush:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.