Css selector rule

I was taking this challenge where it asked me to import google fonts and use css selector to change the font of h2 element to lobster, the output shows the changed font but it still displays an error

Passed
Import the Lobster font.
Passed
Your h2 element should use the font Lobster.
//this is where i am wrong// Use an h2 CSS selector to change the font . //
Passed
Your p element should still use the font monospace.

<head>
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
  .red-text
  {
    color:red;
    font-family:Lobster,courier;
  }
p
{
    font-size: 16px;
    font-family: monospace;
  }
</style>
</head>
<h2 class="red-text">CatPhotoApp</h2>
<main>
  <p>Click here to view more <a href="#">cat photos</a>.</p>

I didn’t know that …thank you!

So you need to put this on your h2 directly…similar to the p tag:

h2 {
font-family: Lobster, Courier;
}