Having trouble adding active state to my nav items in viewport - Vanilla JS

前端 未结 0 918
遥遥无期
遥遥无期 2020-12-15 18:07

I\'m trying to add an active state to my nav items when a section is in the viewport. I\'m working on a project and was advised that I needed to fetch the list of all sectio

相关标签:
回答
  • 消灭零回复
提交回复
热议问题