Use CSS Selectors to Style Elements "Your h2 element should be blue."

Tell us what’s happening:
I am on “Basic CSS: Use CSS Selectors to Style Elements”
I am being asked to turn text within the h2 element to blue.
I have googled the issue.
I even copied and pasted code that others said will work.

I still am getting the response…

// running test
Your h2 element should be blue.
// tests completed

It is blue…

Please help.

I do not understand what I am doing wrong.

Your code so far



<style>
  h2 {color: blue;}
</style>

<main>
  <p>Click here to view more <a href="#">cat photos</a>.</p>
  
  <a href="#"><img src="https://bit.ly/fcc-relaxing-cat" alt="A cute orange cat lying on its back."></a>
  
  <div>
    <p>Things cats love:</p>
    <ul>
      <li>cat nip</li>
      <li>laser pointers</li>
      <li>lasagna</li>
    </ul>
    <p>Top 3 things cats hate:</p>
    <ol>
      <li>flea treatment</li>
      <li>thunder</li>
      <li>other cats</li>
    </ol>
  </div>
  
  <form action="/submit-cat-photo">
    <label><input type="radio" name="indoor-outdoor" checked> Indoor</label>
    <label><input type="radio" name="indoor-outdoor"> Outdoor</label><br>
    <label><input type="checkbox" name="personality" checked> Loving</label>
    <label><input type="checkbox" name="personality"> Lazy</label>
    <label><input type="checkbox" name="personality"> Energetic</label><br>
    <input type="text" placeholder="cat photo URL" required>
    <button type="submit">Submit</button>
  </form>
</main>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.108 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-css/use-css-selectors-to-style-elements

Where is the h2 tag in your html markup?

you should be mentioning a h2 tag after the styling
i.e., your code should be something like this:

h2 {color:blue;}

Cat Photo App

[https://learn.freecodecamp.org/responsive-web-design/basic-css/use-css-selectors-to-style-elements](https://learn.freecodecamp.org/responsive-web-design/basic-css/use-css-selectors-to-style-elements)

you can see the h2 being mentioned after style tag in the part