Stuck - Responsive Web Design (Beta)

Hello guys,
when i write the following code, i get the error:" You should wrap the existing * rule within the @media rule."

@media (prefers-reduced-motion: no preference){
  *{
  scroll-behavior: smooth;
  }
}

could someone help please ? What should i write instead of what i wrote ?

1 Like

Please include the challenge link so we know what lesson you are on
Thanks! :slight_smile:

You are missing the dash here

1 Like