Best way to create a set of tabs with selected/highlighted states
I am trying to figure out how to how to make a tab highlighted on click and change the color on the other. I watched the video, but it doesn't make complete sense. Currently I see how I can take a "rectangle" and set an event that says on click, set rectangle 1 to highlighted (color) and remove color from the rectangle 2, 3, 4.
Although I think the process is inefficient when I have 4 tabs as I have to create a lot of events to say "highlight this tab" and deselect the other 3 tabs. Then I have to create those events for all 4 tabs. Then if I add a 5th tab I have to do it again across all 5.
I am sure there is an easier way to do this. Would you be so kind as to guide me through how to make a set of tabs highlight on rollover/click and remove highlight on the other selected tab please.