Tell us what’s happening:
I am trying to wrap a media rule around an already existing rule.
Your code so far
* {
@media (prefers-reduced-motion: no-preference){
scroll-behavior: smooth;
}
}
I have wrapped the item in question: scroll-behavior: smooth, within @media (prefers-reduced-motion: no-preference). Yet I am still getting the error " You should have one`@media (prefers-reduced-motion: no-preference) rule." Any tips would be greatly appreciated
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Challenge: Step 66
Link to the challenge: