Learn Accessibility by Building a Quiz - Step 67

Hello All,
As far as I can tell, I have entered the code just as it is shown in the example, but with the applicable selector. I’m not sure what I am entering incorrectly and am pretty stuck at this point.

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.

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36

Challenge Information:

Learn Accessibility by Building a Quiz - Step 67

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

You need two closing bracket } in the last of your css selector.

2 Likes

That was it! Thank you so much for your help!

1 Like

Your most welcome, keep it up. Happy Coding!

im in the same step and I have the same code structure but still tells me that message : (You should wrap the existing * rule within the @media rule.)
here is my code : @media (prefers-reduced-motion: no-preference)
{ * {scroll-behavior: smooth;}}

@Mahfoud If you have a question please create a post on the forum.

1 Like

You maybe have issue in other part of your code. Create your own topic on the forum. With your whole code.

Okay thank you as it’s my first time using the forum im sorry brother

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