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.

Step 66

Clicking on the navigation links should jump the viewport to the relevant section. However, this jumping can be disorienting for some users.

Select all elements, and set the scroll-behavior to smooth.

* {
   scroll-behavior: smooth;
     }

Check Your Code (Ctrl + Enter)
Test
Sorry, your code does not pass. You're getting there.
Hint
You should give * a scroll-behavior of smooth.

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15

Challenge: Learn Accessibility by Building a Quiz - Step 66

Link to the challenge:

hi there, did you have a question?

yes sry first post I wasn’t sure how to go about it lol. basically I am typing exactly as directions say but it says it is still wrong and I cannot continue. Im not sure what I am doing wrong or how it wants this line written.

Your solution works from my end. Please try one of the following steps to move forward.

Click on the “Restart Step” button and force a refresh of your page with CTRL + F5 then try to paste the code in again.

or - Try the step in incognito or private mode.

or - Disable any/all extensions that interface with the freeCodeCamp website (such as Dark Mode, Ad Blockers, or Spellcheckers), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

or - Ensure your browser is up-to-date or try a different browser.

I hope one of these will work for you.

thank you so much!!! I ended up having to switch to a new browser but it finally passed. I appreciate your help!

1 Like

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