smooth on scroll js code example Example: how to create a smooth effect in javasript how to create a smooth effect in javascript