Accessibility building quiz step 66

This code I wrote but it didn’t pass. How do I re-write this?

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

Challenge: Step 66

Link to the challenge:

the media query must be outside, and you put the selectors inside it

Thanks. MY BAD. I should have known. :sob:

help out here, still on building a quiz:
Wrap a link around the text freeCodeCamp , and set its location to

That’s absolutely not enough info to help you

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.

having the same issue, here what I wrote ;still will not pass

@media (prefers-reduced-motion:no preference){

  • {

scroll-behavior: smooth;

please create your own topic using the Ask for help button

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