By default, when you click on the anchor link, which looks like <a href="#about">About Us</a>, there is a sharp transition to the desired element on the site. If the transition occurs within one page, this effect looks ugly.
Better for such links, you can add an animation of a smooth transition (scroll) to the desired element.
You can do this with jQuery.
The small code below will help to make the site a little more presentable and beautiful.
The example shows an event when a user clicks a link in a menu with the class "menu". Also, this code can be applied in general to all links on the site, since there is a check, anchor link or not.
If you have any questions, want to get individual advice or you have an interesting offer, you can contact via the feedback form.
Or write to the email firstname.lastname@example.org