What is wrong with my code in responsive web design

Here is my code below for the make an mage responsive challenge. I’ve failed to get past this stage. what is wrong with my code?

<style>
.responsive-img {


}

img {
  width: 600px;
  max-width: 100%;
  display:block;
  height:auto;
}
</style>

Here’s the link to the challenge: https://www.freecodecamp.org/learn/responsive-web-design/responsive-web-design-principles/make-an-image-responsive

Add the style rules to the responsive-img class to make it responsive.

there are no rules added to the responsive-img class

Hey, thanks a lot. However, it has not worked after a number of trials over and over again. I’ve tried refreshing my page but in vain. Let me keep on trying.

you have not added any rule here
if you changed something, you need to post again your code
your whole code, not just that snippet

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.

See this post to find the backtick on your keyboard. The “preformatted text” tool in the editor (</>) will also add backticks around text.

Note: Backticks are not single quotes.

markdown_Forums