6 HOVER issue


#1


https://www.codecademy.com/courses/web-beginner-en-JwhI1/1/2?curriculum_id=50a3fad8c7a770b5fd0007a1


The hover is working in my exercise, I have seen other posts to compare my code and it seems to be correct. Just wondering why i am getting this error message: "Oops, try again. Please follow the instructions on the Full Preview page to test your code."


Replace this line with your code. 
$(document).ready(function(){
  $('div').hover(function(){
    $(this).addClass('active');
    },
    function(){
        $(this).removeClass('active');
   });
});


#2

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