Previously, we discussed anchor links, a special type of links that points to specific sections of a webpage. And by default, when you click on that link, you will jump to the linked element directly, without any transitions.
You can implement a smooth scrolling phase by setting the scroll-behavior
property to smooth
.