Hey there pals. I am trying to get smooth scrolling added to ONE element on a page, not the entire HTML document. I can get the entire HTML document to smooth scroll, but for some reason I cannot do this for just one element.
Here’s the PEN: You’ll see I added the class to every element just to see if this would cause smooth scrolling, and it does not. If I change the class to HTML, it smooth scrolls fine.
Are we not able to add smooth scrolling to just ONE hyperlink/element?