6. Hover


#1


$(document).ready(function(){

  $('div').hover(function(){
        $(this).addClass('active');
});
   $('div').mouseleave(function(){
        $(this).removeClass('active');
});
});

I DONT UNDERSTAND! frick ive tried all kinds of different ways. including waiting 5 seconds on each tab to hover over...


#2

have you tried mouseenter instead of hover?


#3

I did. Found out I had to switch browsers. Thank you


#4