nextTab() {
    const tabs = this.querySelectorAll('.web-tabs__tab');

    this.activeTab = (this.activeTab + 1) % tabs.length || 0;
  }
// If next tab exists, make it active. If not, make first tab active.
If next tab exists, make it active. If not, make first tab active.
If next tab exists make it active . If not make first tab active .
nextTab() {
    const tabs = this.querySelectorAll('.web-tabs__tab');
    this.activeTab = (this.activeTab + 1) % tabs.length || 0;
  }
nextTab ( ) { const tabs = this . querySelectorAll ( '.web-tabs__tab' ) ; this . activeTab = ( this . activeTab + 1 ) % tabs . length || 0 ; }
If next tab exists, make it active.
If next tab exists make it active .