Articles do not open in full screen 3/10 thru 5/10


#1

var main = function (){};
$('article').click(function() {
$('.article').removeClass('current');
$('.description').hide();

    $(this).addClass('current');
    $(this).children('.description').show();
     });

$(document).ready.main;

I keep completing the lesson and it moves me to the next less but its not opening the articles when I go in in full screen. Any thoughts?


#2

Hi Luis,

I think you're missing a dot (.) in front of article on line 2 :)
It should look like this:

$('.article')//...

#3

thank you so much. it keep racking my brain