Fonction d'appel sur Scroll Down JavaScript

// Scroll down to certain id

function scrollToForm() {
  document.querySelector('#form').scrollIntoView({behavior: 'smooth'});
}

// Trigger the function:
<a href="javascript: scrollToForm();">Jump to form</a>
Smiling Starling