I almost copied the code from their website. The tab is initiated perfectly, and when I click on tabs, new panels are activated. However, the \"active\" class is not applied
When I moved the following lines from the head section to the end of the body section it worked.