3. Show a description


#1


  1. Show a description

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.


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


#2

where is your

$(document).ready(main);


#3

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