Hi there!
I'm a newbie - been struggling to get this working for a week now.
I've created a function that animates the styling of the clicked nav-link.
I also created a timeline with a scroll trigger that is supposed to call the same function when each section scrolls into view. (This is the part that's not working.)
I think my mistake has something to do with scope? Sorry - I don't even exactly know what that means.
The reason I think that, is beca