Java script 3. Show description problems


#1

I am having difficulty with this code have checked it and it appears to be right however I keep receiving the message "oops, try again. Please the instructions on the full page preview to test your code." This is my code:

var main = function() { 
    $('.article').click(function() {
        $(this).children('.description').show (); 
    }); 
};

When I go to the full page preview, I cannot click on anything and its unresponsive. Any thoughts on what the problem could be will be appreciated.


#2

Is this the full extent of your code, or is there more? Perhaps you are missing the jQuery .ready() handler?

var main = function() {

};

$(document).ready(main);