I have two files - index.html and link.html. In link.html I have added the functionality to hide and show content by clicking on individual links and now I want to extend this functionality to my index page as well.
Individual links work fine on the link page but am unable to direct the content from the index page.
What do I do so when I click on the individual links on the index page that take me to related content on the link.html page?
Here is the code pen link…