Use a CSS Class to Style an Element ok now I just need it to turn red help please im just guessing

Use a CSS Class to Style an Element ok now I just need it to turn red help please im just guessing
0.0 0

#1

Tell us what’s happening:

Your code so far

<style>
 <h2.red-text { color:red; }">CatPhotoApp</h2>
  
</style>

<h2 class="red-text">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.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36.

Link to the challenge:


#2

Hello @CodeCesar
you cannot put tag inside style tag , like you used h2.
you need to remove all the tags from style. other than that, everything looks fine.


#3

Check out the example in the given instructions and compare it to what you’ve got currently. See any differences?


#4

thank you got it now @dipitmaurya :slight_smile: