Problem with addClass and removeClass in 6. Hover


#1

This is my code - in the window it actually highlights and deselects as it suggests, but it won't let me advance, suggesting something is wrong with the code!
What is wrong with it?

$(document).ready(function(){

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

});


#2

Actually I found the solution, it is basically that you have to mouse in and out of the div as the programme says so!


#3

oh yeah, i had trouble with some of those instructions too, you HAVE to follow what it says lol
and here i was trying to really examine your code xD