Use a CSS Class to Style an Element - STUCK

I am on the 13th lesson where I am learning to “Use a CSS Class to Style an Element”, but it keeps saying “Your h2 element should have the class red-text.” as something I am not doing.

This is the code written so far…

  h2 {
    color: red;
  <h2 class="red-text">CatPhotoApp</h2>
  .red-text {
    color: red;



<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>

Would appreciate any help.

There shouldn’t be any HTML elements between the <style> tags. The <h2> element below should have the class="red-text" attribute.

Inside <style should be only the styling and not the elements. In <style delete the h2{color… and <h2 class…