Hello everyone how could i achieve slow scrolling similar to https://codepen.io/freeCodeCamp/full/YqLyXB I am on a challenge no 125. on freecodecamp.
It’s a bit annoying because you have to override the default behaviour and add in a few other little things. I wrote how to here after struggling on finding out how to do it. https://medium.com/@glynlewington/navbar-w-smooth-scrolling-same-page-links-accessibility-cf163b5427e4
Is there any other way except js?
not that I’m aware of, you can always come back to add this in at a later date though.
1 Like