Help with step 4


#1

Does anyone know why this code does not work?

 var main = function() {
        $(".article").click(function(){
         $(".description").hide();
        
        
        $(this).children(".description").show();
        });
    }
    
    $(document).ready(main);

#2

Hi Aaron,

I can't find any problems in your code right off, but sometimes the course will expect you to use single quotes for selectors even though it doesn't actually affect whether your code works or not. So, maybe changing this:

$(".article")

to this:

$('.article')

(and the same for your other selectors) will let you pass the exercise :)