Tabs on native Javascript.
For use , you must have the following structure of elements in the HTML page:
- The block inside which there are tabs (the script uses the CSS class with the name .info-header).
- Tabs inside the .info-header block (the script uses the CSS class with the name .info-header-tab).
- The content of each tab (the script uses the CSS class with the name .tab-content.
Also note that the name of the .info-header-tab class is still used on line 27. Remember to replace it with your own name