Custom code only works if it is the only code applied to site

my site has a few custom code js added (mainly for an accordion auto collapse and for a number going up automatically function).

the problem is for some custom code I added so when you click on the hero section links: you scroll down to a TABS section and a specific tab becomes active. and that code only works if it is the only custom code. If I added with the rest of the code everything else works except this.

This is the specific code:

$(‘.cb’).on(‘click’, function (evt) {
$(‘.tbl’).triggerHandler(‘click’);
evt.preventDefault();
});
$(‘.cb2’).on(‘click’, function (evt) {
$(‘.tbl2’).triggerHandler(‘click’);
evt.preventDefault();
});
$(‘.cb3’).on(‘click’, function (evt) {
$(‘.tbl3’).triggerHandler(‘click’);
evt.preventDefault();
});

Here is my read only link: Webflow - Codesmith - Become Irreplaceable