Scroll to Section

Do you want to scroll down when button is clicked?

Add the following code to your javascript

        function scrollnow() { 
		var jumpPos = $('#scrollHere').offset().top; 
		
		if($(document).scrollTop() <= jumpPos) 
			
		$('html, body').animate({ scrollTop: jumpPos })
			}

and call the scrollnow(); function on button click

 
<button> onclick="scrollnow();">Click me</button> 

do not forget to specify where to scroll by id #scrollHere

 
<div id="scrollHere"> Test </div>