6. Hover


#1


$(document).ready(function(){

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

});

I am getting the error "Oops, try again. Unable to get property '1' of undefined or null reference."

What do I do?


#2

Try refreshing the page and submit again. Be sure to read the instructions at the bottom of the full page preview. Hover and pause, wait for next instruction, mouse off, return to editor.

The instructions say to use highlight but I tested with active and it worked.


#3

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