document.querySelectorAll('a[href^="#"]').forEach(anchor => { anchor.addEventListener('click', function (e) { e.preventDefault(); document.querySelector(this.getAttribute('href')).scrollIntoView({ behavior: 'smooth' }); }); });

Admin

About anthony diaz

This author has not yet filled in any details.
So far anthony diaz has created 0 blog entries.
Go to Top