I can't seem to pass the step 66 of the learn accessibility by building a quiz

My code so far

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

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.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 11; SM-A225F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Mobile Safari/537.36

Challenge: Learn Accessibility by Building a Quiz - Step 66

Link to the challenge:

Hello! In your own words, can you explain the problem you are having, or what does not make sense?

1 Like

Wrap the style rule that set scroll-behavior: smooth within an @media ar rule with the media feature prefers-reduced-motion having no-preference set as the value

My code below

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

I can’t seem to pass the step 66 after several attemps
Thanks

If I were you, I would try to closely examine the syntax of your code and see how it compares or contrasts with the syntax of the example code in the challenge instructions

I have tried that, been on it for over an hour

When you try to run the code, what does the error message say?

Hang in there it’s hard

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.