Content switching with Javascript -


There are 3 sections of specific interest on my home page. What I want to do is set up a Javascript function called link Which ensures that 2 sections are hidden and the section on which the button was clicked is shown only.

Here's my code:


Comments