window.scroll() method scrolls the window to a particular place in the document.
Note: The window.scrollTo() is effectively the same as this method.
|x-coord||Required||The pixel along the horizontal axis of the document that you want displayed in the upper left.|
|y-coord||Required||The pixel along the vertical axis of the document that you want displayed in the upper left.|
scroll() with behavior
scroll() for Specific Element
Note: You can also use
scroll() for specific element.
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.