Use an ID Attribute to Style an Element 111111

Tell us what’s happening:
Dont know why am still getting error

Your code so far

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">
<style>
  .red-text {
    color: red;
  }

  h2 {
    font-family: Lobster, Monospace;
  }

  p {
    font-size: 16px;
    font-family: Monospace;
  }

  .thick-green-border {
    border-color: green;
    border-width: 10px;
    border-style: solid;
    border-radius: 50%;
  }

  .smaller-image {
    width: 100px;
  }

  .silver-background {
    background-color: silver;
  }
  #cat-photo-element {background-color: green;}
</style>

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

<p>Click here for <a href="#">cat photos</a>.</p>

<a href="#"><img class="smaller-image thick-green-border" alt="A cute orange cat lying on its back. " src="https://bit.ly/fcc-relaxing-cat"></a>

<div class="silver-background">
  <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 "background-color: green" action="/submit-cat-photo" id="cat-photo-form"><
  <label><input type="radio" name="indoor-outdoor" checked> Indoor</label>
  <label><input type="radio" name="indoor-outdoor"> Outdoor</label>
  <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>
  <input type="text" placeholder="cat photo URL" required>
  <button type="submit">Submit</button>
</form>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0.

Link to the challenge:
https://www.freecodecamp.org/challenges/use-an-id-attribute-to-style-an-element

You are styling your form inline incorrectly.

Best way is to use an ID, or just ‘form’ in CSS and style it there.

In mine I used an ID:
html:
css: #cat-photo-form {background-color: green; }

If you’d prefer to style inline the correct way is to add the following to the form tag:
style=“background-color: green;”

The task ask that class and style should not be used
I used that css: #cat-photo-form {background-color: green; }
can’t you see it?

Oh yes, I see it now. I think it’s a combination of the incorrect inline style + the extra “<” that is causing problems.

When I paste your code directly into my exercise it hightlights these points:

Then if I delete the extra “<” and the inline style it works:

I have removed it the > but yet still not going

this is the priobleem: Your form element should have the background-color of green.
it seems am not getting it right