Learn Accessibility by Building a Quiz - Step 66

Tell us what’s happening:

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.

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/106.0.0.0 Safari/537.36

Challenge: Learn Accessibility by Building a Quiz - Step 66

Link to the challenge:

Please Tell us what’s happening in your own words.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more you say, the more we can help!

I am stuck. I don’t know where to place @media(feature:value){}

the code you start out with is:
* { scroll-behavior: smooth; }
So place the media rule around this rule (so that this rule is enclosed within it).

If still stuck, please check the hints and share your code here.

This is my code and I am still stuck

@media(prefers-reduced-motion){

* {

scroll-behavior: smooth;

}

}

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

you are missing something. When I enter your code, the hint tells me what you are missing exactly…

Okay… what am i missing?

what does the hint say (it literally says exactly what you have missed)

I found it. Thank you.

What is it? i’m also stuck,
i would appreciate some help please.

If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.