How to create a simple Scroll Top button with JavaScript and 4 lines of code
Channel: sbdev274
Date: 07/08/2020

More information 

https://medium.com/@olivertate274/create-scroll-back-to-top-button-with-just-4-lines-of-javascript-code-and-smooth-behavior-61a1edf08df7