SyntaxFix
Write A Post
Hire A Developer
Questions
Add the function:
function scrollToForm() { document.querySelector('#form').scrollIntoView({behavior: 'smooth'}); }
Trigger the function:
<a href="javascript: scrollToForm();">Jump to form</a>