Answers for "scrollto is not a function javascript"

0

scrollto is not a function javascript

$("button").on('click', function() {
	window.scrollTo({
    top: $('#intro').offset().top,
    left: 0,
    behavior: 'smooth'
  })
});
Posted by: Guest on July-27-2021

Code answers related to "scrollto is not a function javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language