Scrolling when clicking on a link?

5a3172353951e650846070.png
There are navbar, it is necessary that by clicking on the link, it gradually spreads to the right section.

How to do it without JQ? Don't want to put on a whole library for this functionality.
June 10th 19 at 15:23
1 answer
June 10th 19 at 15:25
Solution
So, not smoothly like - Al.Schroeder commented on June 10th 19 at 15:28
updated the link - Jordyn_Bayer21 commented on June 10th 19 at 15:31
That the answer is not clear to me, I don't even understand how to tie it, not that I understood in the code :( - Al.Schroeder commented on June 10th 19 at 15:34
plug head against something https://codepen.io/anon/pen/VyYXOY - Jordyn_Bayer21 commented on June 10th 19 at 15:37

Find more questions by tags HTMLCSSJavaScript