Animation scroll to specific element on the page
let element = $('.element'); $('html, body').animate({ scrollTop: element.offset().top }, 500);