Build a Quiz Webpage - Step 67

Tell us what’s happening:

hello how are you doing? please i need help with my code

Your code so far

<!-- file: index.html -->

/* file: styles.css */
/* User Editable Region */

* {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: no-preference) {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
}


/* User Editable Region */

Your browser information:

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

Challenge Information:

Build a Quiz Webpage - Step 67

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!

For now, wrap the style rule that sets scroll-behavior: smooth

Does this help? You did not do the above.

how to do it ? please

you wrapped this other * rule, but this one is not the existing one

Tell us what’s happening:

he’ll how are you going ? i need help to fix my code;2. You should wrap the existing * rule within the @media rule.

Your code so far

<!-- file: index.html -->

/* file: styles.css */
/* User Editable Region */

* {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: no-preference) {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
}


/* User Editable Region */

Your browser information:

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

Challenge Information:

Build a Quiz Webpage - Step 67

do you mean this existing * rule? it’s not in a media query, the media query has new code inside

I have merged your two topics, do not create multiple topics for the same challenge

Do you understand the meaning of “wrap” here?

no i don’t understand

to wrap means to put around, like the wrapper is wrapped around the candy

you have this, you need to wrap this inside the media query, so you need to put this inside the media query

1 Like

thanks for your help i pass the test