The module allows the user to switch between different tabs on the web-page on click
tabsSelector - the names of all the relevant tabs from the HTML file tabcontent - the tabs themselves (divs) tabsParentSelector - a wrapper for all the tabs' names
functions hideTabContent and showTabContent hide all the tabs and show only the first one
adding an EventListener allows us to show a tab on click if the click's target corresponds with any of the tabs' names and related index
I also attach a CSS file to access the styles used ('show', 'fade', 'hide')