Skip to content
← Back to Community
ScrollTo
Profile icon
theWorstCoder

How do you use scroll to can someone help me............

Voters
Profile icon
theWorstCoder
Comments
hotnewtop
Profile icon
Coder100

https://www.w3schools.com/jsref/met_win_scrollto.asp

it's super easy, just specify the coordinates of where you want the center of the page to be (in pixels)

Profile icon
theWorstCoder

In js