I keep getting the error/hint: “You should have one @media (prefers-reduced-motion: no-preference) rule.” but I’ve checked so many times and that’s exactly what I have written. Unsure why it’s coming up wrong.
This step/prompt
Wrap the style rule that sets scroll-behavior: smooth within an @media at-rule with the media feature prefers-reduced-motion having no-preference set as the value.
Do you see that the ruleset inside of the media query doesn’t have a selector? You can restart the step to get the original CSS back and then wrap it with the media query as you have done here.
If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.