js/script.js
/*Jquery removes highlighting from tabs and highlights clicked tab*/
Jquery removes highlighting from tabs and highlights clicked tab
Jquery removes highlighting from tabs and highlights clicked tab
function selectTab(tabId) {
    $("li").removeClass("selected");
    $(tabId).addClass("selected");
    console.log('Changing to tab', tabId);
}
function selectTab ( tabId ) { $ ( "li" ) . removeClass ( "selected" ) ; $ ( tabId ) . addClass ( "selected" ) ; console . log ( 'Changing to tab' , tabId ) ; }
Jquery removes highlighting from tabs and highlights clicked tab
Jquery removes highlighting from tabs and highlights clicked tab
/*1 Pt. Clicking tab removes highlighting from all (other) tabs.
     */ /*1 Pt. Clicking tab adds highlighting to that tab. 
     */ /*1 Pt. Clicked tab is logged to console.*/