Learn Accessibility by Building a Quiz - Step 67

Tell us what’s happening:
Can’t figure out how to apply
media rule to style rule *

Your code so far

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

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 (Macintosh; Intel Mac OS X 10.15; rv:106.0) Gecko/20100101 Firefox/106.0

Challenge: Learn Accessibility by Building a Quiz - Step 67

Link to the challenge:

you mustn’t modify the code provided to you at the start of this step.
Rather add the media rule above it so that the statement that starts with @media is one line above the code given , followed by an opening brace {
then one line after the code given, you should write the closing brace }

This would effectively enclose the css code into the media rule

1 Like

Thank you very much, the code worked)

1 Like

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