Make sure your form element has an id attribute

Please, I need help with this error, I do not know where the fault is

Passed
Give your form element the id of cat-photo-form.
Passed
Your form element should have the background-color of green.
NOT PASSED
Make sure your form element has an id attribute.
Passed
Do not give your form any class or style attributes.

.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-form {
background-color: green;
}

CatPhotoApp

Click here to view more cat photos.

A cute orange cat lying on its back.

Things cats love:

  • cat nip
  • laser pointers
  • lasagna

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
Indoor Outdoor
Loving Lazy Energetic
Submit

Passed
Give your form element the id of cat-photo-form.
Passed
Your form element should have the background-color of green.
Make sure your form element has an id attribute. D’ont passed ???
Passed
Do not give your form any class or style attributes.

Do not give your form any class or style attributes.

it says this so that means just add background-color to your form

you want to give the background-color inline

form style=“background-color: green;” id=“cat-photo-form”

Do not give your form any class or style attributes.

This is what the question says, it means no inline styles or classes should be added, only id should be created and called for styling

@Antonio Provide the html code, you might have added some extra space or something while creating the id inside form. Click the </> symbol in your message editor and place your html code inside it

1 Like

my html,thanks

.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; }

CatPhotoApp

Click here to view more cat photos.

A cute orange cat lying on its back.

Things cats love:

  • cat nip
  • laser pointers
  • lasagna

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
Indoor Outdoor
Loving Lazy Energetic
Submit

<

.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; }

CatPhotoApp

Click here to view more cat photos.

A cute orange cat lying on its back.

Things cats love:

  • cat nip
  • laser pointers
  • lasagna

Top 3 things cats hate:

  1. flea treatment
  2. thunder
  3. other cats
Indoor Outdoor
Loving Lazy Energetic
Submit />

did you get the question right?

Solved, thanks for your help