Background color css

Can anyone tell me what the problem here is. I want a silver background

      .silver-background {
        background-color: silver;
    }
  }
</style>

<h2 class="red-text">CatPhotoApp</h2>
<main>
  <p class="red-text">Click here to view more <a href="#">cat photos</a>.</p>

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

  <div class="silver-background" attribute background-color: silver;>

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

It would help if we knew what challenge you were on.

Please provide a challenge link.

Also, this is a syntax error

The challenge wants you to add the class of silver-background to the div.

This part is correct

but then you added all of this extra stuff which is incorrect.
You need to delete it.