Tell us what’s happening:
The assignment is: Wrap the appropriate rule within a prefers-reduced-motion media rule such that a scroll-behavior of smooth is only set if the user’s browser setting is no-preference.
I have never heard of this before. I have no idea what it is and how to use it.
Your code so far
WARNING
The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.
You will need to take an additional step here so the code you wrote presents in an easy to read format.
Please copy/paste all the editor code showing in the challenge from where you just linked.
I just solved it by going to the next step. The right code was in there. Normally I don’t like doing that but when I saw the required code let’s just say I wouldn’t be able to solve it myself.
You need to know the @media rule, likely only known from media queries, also can take other rules.
You somehow need to know the syntax of the condition prefers-reduced-motion: no-preference with no explanation. Or just fail it and get it printed for you in the hints instead of having it explained in the challenge text.