Bootstrap TAB not highlighting as/when click

Ok, so making progress on the github site (https://github.com/robwuk/MPC_Boot) - JQuery/Bootstrap coding - but when I use the TAB processing for Bootstrap I am not seeing expected results. The tabs DO change the content in the TAB-CONTENT but the “active” tab stays as the original (ie it is not highlighting the tab which has been clicked (same happens if I switch to PILLS logic…

any thoughts/questions - the Bootstrap guide on W3Schools.com gave me the basics and that works as I expect…

page for working example is:

https://www.w3schools.com/bootstrap//bootstrap_tabs_pills.asp

and for my non-working page is:

https://robwuk.github.io/MPC_Boot/

I am sure I am missing something simple - all assistance gratefully received

sorted - my import of scripts for bootstrap was in the wrong place!!! told you, something simple