scroll page page on specific element html code example
Example 1: how can when click buton scrool to another elemtn
$("button").click(function() {
$('html,body').animate({
scrollTop: $(".second").offset().top},
'slow');
});
// example: http://jsfiddle.net/ryXFt/3/
Example 2: scroll to a section of your page html
html {
scroll-behavior: smooth;
}