<h2class= “red-text”>CatPhotoApp
CatPhotoApp
Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
<h2class= “red-text”>CatPhotoApp
Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.
Do you have a class of red-text
in your html for the text you need to be red?
yes well I think that’s what I did.
<style .red-text { color: red; } </styleThis is your CSS code, what do you have outside the style tags?
Close your tags:
<style>
.red-text {
color: red;
}
</style>
‘>’ you’re missing these.
Also, look at your HTML. ctrl+f, and look for “red-text”. If you don’t see it anywhere other than in your style tags, then that is your problem. I imagine there is a p tag somewhere with the text you mentioned (i.e. Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.), look for that, and make sure it looks like this:
<p class="red-text"> 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>