i need to put an active class on the <li>
so the that when you are in a team_category it would display <li class="active">
<?php
$sport = get_terms( 'team_category' );
if($sport){
?><ul><?php
foreach($sport as $s){ ?>
<li><a href="<?php echo get_term_link( $s->slug, 'team_category' ) ?>"><?php echo $s->name; ?></a></li>
<?php }
?></ul><?php
}
?>
Something like this should work.