How do i achieve slow scrolling effect?

Hello everyone how could i achieve slow scrolling similar to 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.

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