How to scroll to top without JS
javascriptbrowser
There's a built-in way of scrolling to top without JS.
<a href="#TOP"></a>
It should be case-insensitive.
Also with the scroll-behaviour: smooth
, JS is not needed anymore for this.
There's a built-in way of scrolling to top without JS.
<a href="#TOP"></a>
It should be case-insensitive.
Also with the scroll-behaviour: smooth
, JS is not needed anymore for this.