6. Hover


#1


Oops, try again. It does't look like your background color changed, is your hover adding the class active?
It pops up but the color changes when I hover

$(document).ready(function(){

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

});


#2

It could just be a timing issue. Go to preview page, hover and hold for two seonds, mouse off and pause another two seconds, hover on another div, pause, mouse off, pause, then return to editor.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.