How do i use h2 css selector


> how is it that am not using h2 css selector ?

<style>
  .red-text {
    color: red;
  }

  p {
    font-size: 16px;
    font-family: lobster,monospace;
  }
  
  h2 {font-family : Lobster;
  }
</style>


<h2 class="red-text"> CatPhotoApp
</h2>

hello! please link me your project <3

There should be no space between the property name and the colon

thanks man it worked perfectly