scroll to the top of the page
window.scroll({
top: 0,
left: 0,
behavior: 'smooth'
});
Log in, to leave a comment
3.71
7
window.scroll({top: 0, left: 0});
//Or with jQuery
$('html,body').scrollTop(0);
//with animation
$('html, body').animate({ scrollTop: 0 }, 'fast');
Thank you!
7
0
4.5
6
window.scrollTo({ top: 0, left: 0, behavior: "smooth" });
Thank you!
6
0
Are there any code examples left?
New code examples in category Other
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Relative searches
js move page to top
how to scroll to top the page
scroll to top page
to top page js
html scroll page to top
make website go to the top of the page with js
javascript move top of page
jump to top of page javascript
javascript set top of page
page scrolled from top
how to make page go to top in javascript
scroll to top of page javascript dom
goto top of page javascript
move page to top in javascript
return to the top of the page in js
move to top of page javascript
auto scroll to top of page
scroll to top of ;page js
javascript to top of page
scroll to top place on page js
js go top of page
move to top of the page js
javascript to not go top page top
scroll to the top page js
html go to top of page javascript
javascript go to top page
return to top of page javascript
js go to page top
js scroll to top of page instantly
javascript go to the top of the page
javascript move to top of page
scroll to top page js
page top javascript
back to top in html
jqury click scroll to top
scroll page up in javascript
js scroll go to top
to the top website css
javascript to page top
jquery to push user to top of page
add scroll to top on load
how to go to top of the page in js
js to scroll to top
How to get to know that site in on top from Js
site scroll top
css scroll to top of page
how to use back to top in html
javascript is on top of page
javascript take to top of page
scroll to top link
javascript go to top
scroll to goes to top of page
javascript click scroll to top
click to scroll to #top?
click to scroll to top?
go to the top of page javascript
goto top in css
how to jump on page in html on clicking a button
javascript scroll up
javascript page scroll to top
javascript send to top of page
how to make a go to the top arrow html
html go to top of page
go to top of page html
scroll up in html
js top off the page
scroll to top of page on button click javascript
scroll page top top javascript
top buuton js
html for top of page
how to make the go to top button after user scrolls to a div
return to top of page onClick javascript
javascript return to top of page
scroll to top of the page javascript
css3 click to scroll bottom
scroll back to top html
how to scroll page up with javascript on button click
how to scroll page up with javascript
add to top of html document
javascript move page to top
scroll page to top on button click using javascript
scroll page in click in javascript
html back to top scroll
js how to go to top page
scroll always top change page
javascript go top of page
how to create a scroll back to top button
css scroll to top
js go top page
scroll to the top javascriptr
scroll page to top on button click
scroll to top after click javascript
on click take to top of page
go to page top javascript
trasitnation property on bottom to top button using jquery
js scroll up button
scroll on top
how to scroll up
click button to scroll to top
html add a sliding go to top button
button to scroll to
how to scroll to tio
snap to top js
html button go top page
onclick page scroll up
html javascript scroll to top
js page is on the top
begin at the top of the page jquery
javascript to scroll to top of paeg
back to top of page
scroll to top of page
back to top on page
Button onClick makes page not jump to top of page in mobile view
onclick top of page
scroll page to top
icon go top html from down page to top the page
to top of page html
javascript scroll to top of page onclick
scroll to the top js
how to scroll to top of a page in javascript
javascript how to jump to top of page
html scroll to top
css to return to the top page
javascript page Top
how to click and reach top of page in ktml
scroll up in js
to the top html
browser get top scroll 0
css scroll to top of div
land on page with top jquery
how to set easy scroll in a tag in html
html esay scroll to top of page
onclick to go to the top of the page
bring page to the top of page html
GO TO TOP PAGE CSS
scroll in the same page add top
scroll css top
jquery make page scroll to top
js take you to top of page
to top using js
return to top js
scroll to point on page html from button
scroll to top on click java
php scroll to top of page
how scroll top on page js
back to top page html
onclick button scroll to another place on page
css button to go to the top of the page
scroll to the top of the page with jquery
Scroll to the top of the page using JavaScript
Scroll to the top of the page using JavaScript?
jquery top of page
onclick auto scroll to to top of page
js scroll to the top of the page
javascript scroll to the top
how to press a button and autmatically scroll down to the another portion html css
start top of page onclick javascript
jquery scroll to top
button that scrolls to the top
scroll up css
js scroll to top of page on click
how to find the top of page browers with javascript
scroll up js
function when scrolltop to top
function when scrolled to top
send user to the top of the page javascript
jvascript scroll to the top of the page
html css jump to the complete top
scroll back to top
scroll top of page
HTML how top of the page
js wndow load top of screen
javascript top of page
how to scroll top javascript
how to scroll to top of page in javascript
how to scroll to the top of a page
how to scroll top to bottom on onclick in javascript
body scroll to top
how to take scroll on top of the page
how to scroll to top of the page javascrip
move page to top on Link
scroll to the top of the page
on click scroll to top
scroll to page
how to bring on the top of page in html
scroll to topin javascript
jquery to scroll to top of page
move to the top on scroll
js go top
goto to top in html window
scroll to top on button click javascript
scroll to the top css
move scroll to top
go to top page
scroll to top jquery
go to page begin from js
js go to top
scroolup by css
javascript go to top site
how to make body scroll to top in js
how to scroll to top
HTML element click go top
how to add a return to top button in html
how to go on top of a page in html
how to move to top of page in html on click
js when page is top
html link back to top
scroll to top html
html top of page
scroll up in javascript page
scrol up in javascript page
css to make scroll to top
html a top page
javascript set page to top
page goes on top in html
scroll to the top of the page javascript
back to top html with id
scroll top and bottom css
onclick go to top of page
html scroll up to top of page
go to top of page js
scroll to tope of page with javascript
go scroll up automatically html
back to top button javascript smooth scrolling
scroll to top of html section automatically js
scroll to top page javascript
js scroll to top of page
button click scroll to top jquery
make page scroll jquery
js go to top of page
go to top trigger
js goto top of page
scroll page up javascript easy
javascript to scroll to top of page
go to the top of the page html
jump to top of page html
to top up in html scroll
how to reach to the top of page with javascript
jquery onclick button to return to top of page
scroll to top of page using jquery
javascript jump to top of page
navigate to top of page javascript
window.scrollTo jquery
html onclick go to top of page
scroll page to top javascript
javascript function to scroll to top of page
back to scroll table top on jquery
how to use top of page in html
js go up page
scroll to top of page html
page scrolls up when link clicked how to fix?
move to top of the page
scroll to top using javascript
clck go top of the page html
javascript set page scroll to top
how to scroll to top of page javascript
how to go to the top of the page in html
javascript scroll top of page
where to write js code for scroll to top of page
jquery scroll on top
go to top jquery
how to go to top of the page in html
javascript scroll to top of the page
javascript go to top of page on click button
onclick scroll to top javascript
go to the top of the page javascript
scroll to top of page javascript
scroll to top js
scroll to top of page jquery
scroll up javascript
scroll to top of page button click jquery
js scroll to top
go to top of page javascript
js go to top of scroll
start on top of the page javascript
js jump to top of page
javascript scrol to top
javascript scroll to top of page
javascript scroll to top
scroll to top javascript
move page to top javascript
window.scroll brings to top of page javascript
javascript go to top of page