📝 Scroll a page to an element using <code>scrollIntoView()</code>

If you want to scroll a page to a particular element using JavaScript, you can call element.scrollIntoView()