Learn Accessibility by Building a Quiz - Step 66

Ok so even looking at the examples I don’t understand what i’m doing wrong?

@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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

Challenge: Learn Accessibility by Building a Quiz - Step 66

Link to the challenge:

you need one more } at the bottom?

selector is an “asterics” within @media rule

happy learning :slight_smile:

1 Like

Well, it doesn’t accept with one. Then again, it doesn’t accept without one.

Within? I tried putting it between media and the parenthesis, still nothing works…

can you share your current code please?

I found a tutorial video that shows this step, this is literall what he did and it accepted…but not for me. I don’t get it.

Ok never mind, I redid it and for some reason it works now? I don’t get what the problem was but it worked.

1 Like

do you use a non-english keyboard? Sometimes certain characters that look correct have the wrong encoding.

Not usually, no. I usually notice if i’m on the wrong keyboard.

Add a dash between no and preference.

1 Like