How to achieve smooth scrolling?

Good evening. Could you please help to achieve continuous change indentation by dragging the slider on the scrollbar https://jsfiddle.net/8k66z0sd/1/ thank you all in Advance!
June 27th 19 at 15:19
2 answers
June 27th 19 at 15:21
Solution
Use input instead of change.
Thank you very much! - Eldred_Ebe commented on June 27th 19 at 15:24
June 27th 19 at 15:23
Frankly, your code is worthless. Want to change something, will have to go into the code and re-sort out this mess.
Vzhuh and get more clean and clear: https://jsfiddle.net/profesor08/1rvsjoer/
You can change CSS properties, but to climb in JS is not necessary.

Find more questions by tags JavaScriptHTMLCSSjQuery