Menu
Anyone know how I can change the color of a text link on a page that doesn’t load a new page, but rather stays on the same page?
The nav links already use an onClick to present content below it that changes depending on what link in the nav I select. In other words, there’s already two things going on — links take you to content on the same page using a JS onClick.
What I want to add to that is when you click on the link, it changes style, like turns bold or changes color. So then the user knows that not only have they selected new content, but the link they selected stands out as well.
Thank you,
S