I have a problem here

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<p>Click here to view more <a href="#">cat photos</a>.</p>

<a href="#"><img src="https://cdn.freecodecamp.org/curriculum/cat-photo-app/relaxing-cat.jpg" alt="A cute orange cat lying on its back."></a>

  <p>Things cats love:</p>
    <li>cat nip</li>
    <li>laser pointers</li>
  <p>Top 3 things cats hate:</p>
    <li>flea treatment</li>
    <li>other cats</li>

<form action="https://freecatphotoapp.com/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>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 8.1.0; DUB-LX1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Mobile Safari/537.36

Challenge: Use CSS Selectors to Style Elements

Link to the challenge:

It’s with changing of the color of text

In the style tags of the above code

Hi @sentamumosesjr !

I don’t see an h2 in your code.
It looks like you deleted it.

Reset the lesson and try again.

1 Like

Where exactly cos I see one there on the second line.

When you reset the lesson you should see this as the first line of code

<h2 style="color: red;">CatPhotoApp</h2>

The challenge only wanted you to delete the style attribute which is this

style="color: red;"

But instead, you deleted that whole line.

If you are referring to this

That is css for the h2 selector.
That part is correct.

But when you deleted the h2 from your html there is nothing to change blue.

Hope that is clearer!

Yes, thank you dear it really clearly now

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.