I don’t understand how to recreate this changing color effect of the Navbar elements (Features, Pricing) when scrolling and clicking to the corresponding section.
To have that effect, the nav link elements are linked to sections in the page. Once you scroll to the section that you want the element to change, the nav link will be in the “Current” state, just like when it is in the current state when going to a different page.
Add Section ID for each section that you will link to.
Set your nav link to go to that section.
Change the color of the text of the nav link when in the “Current” state.