# Learn Accessibility by Building a Quiz - Step 67

**URL:** <https://forum.freecodecamp.org/t/learn-accessibility-by-building-a-quiz-step-67/734632>\
**Category:** Curriculum Help\
**Created:** [February 12, 2025, 3:12pm UTC](https://forum.freecodecamp.org/t/learn-accessibility-by-building-a-quiz-step-67/734632 "2025-02-12T15:12:16Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![muskanvashisht7](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/muskanvashisht7/32/385191_2.png) [@muskanvashisht7](https://forum.freecodecamp.org/u/muskanvashisht7)\
**Post date:** [February 12, 2025, 3:12pm UTC](https://forum.freecodecamp.org/t/learn-accessibility-by-building-a-quiz-step-67/734632/1 "2025-02-12T15:12:16Z")

</div>

### Tell us what’s happening:

I have tried everything, even followed the order of what is required and as it is suggested. how is this wrong?

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

- {  
scroll-behavior:smooth;  
}  
}

### Your code so far

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

```

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

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

/* 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/132.0.0.0 Safari/537.36`

### Challenge Information:

Learn Accessibility by Building a Quiz - Step 67

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-accessibility-by-building-a-quiz/step-67)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [February 12, 2025, 3:12pm UTC](https://forum.freecodecamp.org/t/learn-accessibility-by-building-a-quiz-step-67/734632/2 "2025-02-12T15:12:57Z")

</div>

> [@muskanvashisht7](#):
>
> ` html {`

you changed the selector here, I don’t thin you were supposed to do that

---

<div class="post-metadata">

**Author:** ![muskanvashisht7](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/muskanvashisht7/32/385191_2.png) [@muskanvashisht7](https://forum.freecodecamp.org/u/muskanvashisht7)\
**Post date:** [February 12, 2025, 3:13pm UTC](https://forum.freecodecamp.org/t/learn-accessibility-by-building-a-quiz-step-67/734632/3 "2025-02-12T15:13:44Z")

</div>

i did change it back to \* as well, and it still doesnt work with that too.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [February 12, 2025, 3:14pm UTC](https://forum.freecodecamp.org/t/learn-accessibility-by-building-a-quiz-step-67/734632/4 "2025-02-12T15:14:11Z")

</div>

show that code please  
I made that change from your code and it passed

---

<div class="post-metadata">

**Author:** ![muskanvashisht7](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/muskanvashisht7/32/385191_2.png) [@muskanvashisht7](https://forum.freecodecamp.org/u/muskanvashisht7)\
**Post date:** [February 12, 2025, 3:15pm UTC](https://forum.freecodecamp.org/t/learn-accessibility-by-building-a-quiz-step-67/734632/5 "2025-02-12T15:15:41Z")

</div>

### Tell us what’s happening:

not working! no idea why! i even changed it now! i am not able to understand the issue

### Your code so far

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

```

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

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

/* 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/132.0.0.0 Safari/537.36`

### Challenge Information:

Learn Accessibility by Building a Quiz - Step 67

> **[freeCodeCamp.org](https://www.freecodecamp.org/learn/2022/responsive-web-design/learn-accessibility-by-building-a-quiz/step-67)**
>
> Learn to Code — For Free

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [February 12, 2025, 3:17pm UTC](https://forum.freecodecamp.org/t/learn-accessibility-by-building-a-quiz-step-67/734632/6 "2025-02-12T15:17:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [February 12, 2025, 3:17pm UTC](https://forum.freecodecamp.org/t/learn-accessibility-by-building-a-quiz-step-67/734632/7 "2025-02-12T15:17:48Z")

</div>

Your code passes, you may have changed something else

---

<div class="post-metadata">

**Author:** ![muskanvashisht7](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/muskanvashisht7/32/385191_2.png) [@muskanvashisht7](https://forum.freecodecamp.org/u/muskanvashisht7)\
**Post date:** [February 12, 2025, 3:17pm UTC](https://forum.freecodecamp.org/t/learn-accessibility-by-building-a-quiz-step-67/734632/8 "2025-02-12T15:17:57Z")

</div>

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

```

this is the code i changed it to, and it still doesnt pass at the final step. sorry for the duplicate entry in help section.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [February 12, 2025, 3:18pm UTC](https://forum.freecodecamp.org/t/learn-accessibility-by-building-a-quiz-step-67/734632/9 "2025-02-12T15:18:49Z")

</div>

As I said, your code passes, you may have changed something else

* * *

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.

 ![Pre-formatted-text](https://global.discourse-cdn.com/freecodecamp/original/3X/1/b/1b18854f1059217f29370444396145cc3a0cd8ae.gif)

See [this post](https://forum.freecodecamp.org/t/forum-code-formatting/25574) to find the backtick on your keyboard.  
**Note:** Backticks (`) are not single quotes (').

---

<div class="post-metadata">

**Author:** ![JuniorQ](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/juniorq/32/400966_2.png) [@JuniorQ](https://forum.freecodecamp.org/u/JuniorQ)\
**Post date:** [February 12, 2025, 3:20pm UTC](https://forum.freecodecamp.org/t/learn-accessibility-by-building-a-quiz-step-67/734632/10 "2025-02-12T15:20:28Z")

</div>

> [@muskanvashisht7](#):
>
> ```auto
> @media (prefers-reduced-motion:no-preference){
> * {
> scroll-behavior:smooth;
> }
> }
> 
> ```

Hi, reset the step and add your code again.  
Good luck!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/freecodecamp/original/3X/e/1/e1c433102e34b46dfaa3e15d13ab9a514b127078.svg) [@system](https://forum.freecodecamp.org/u/system)\
**Post date:** [August 14, 2025, 3:21am UTC](https://forum.freecodecamp.org/t/learn-accessibility-by-building-a-quiz-step-67/734632/11 "2025-08-14T03:21:13Z")

</div>

Closed on August 14, 2025, 3:21am UTC

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