How do I highlight the current/active tab?

I cant figure out how to higlight the current tab. I only have very limited knowledge of Javascript.

codepen: https://codepen.io/houvenaghel-helena/pen/RwrzPjK

Toggle a css class on click.

I dont know how to do that, could you elaborate?