3. Show a description, help, I beg of you, oh please


#1

I am stuck as can be. it tells me -

"Oops, try again. It looks like the current article's description didn't show when clicked. Remember to add code for $(this).children(); inside the event handler. Look back at the instructions for the code."
-but i can not seem to find what I have done wrong.

here is my code:

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

$(document).ready(main);

#2

Did you mean to write, '.description' ?


#3

@mtf ohh, you. thanks!


#4

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