mmdwc Posted June 13, 2023 Share Posted June 13, 2023 hey there, I'm trying to add a class to the current anchor, if it's clicked or by scrolling to the right position. Can't figure out how to make it work despite all the infos I found online can anybody help me with this ? thanks ! See the Pen zYMvadK by mmdwc (@mmdwc) on CodePen Link to comment Share on other sites More sharing options...
Cassie Posted June 13, 2023 Share Posted June 13, 2023 Heya! There's a solution here which may help you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now