Learn how to use the **scrollTo()** method to set the scroll position to help users find what they’re looking for. You will also learn to scroll automatically or in response to click and submit events. The method takes one argument: an options object, which is a dictionary that specifies the scroll positions and animation type.
Irakli Tchigladze
@iraklitch
Former front-end developer, and current writer who loves to help people understand difficult technical concepts.
STORY’S CREDIBILITY
Guide
Walkthroughs, tutorials, guides, and tips. This story will teach you how to do something new or how to do something better.
Share Your Thoughts