Cannot see problem with code, it even works but can't progress


#1

Can anyone help, can't progress to next exercise and the code even works. Getting error: "Oops, try again. Add the line $('.description'); inside your $('.article').click() function."

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

$(document).ready(main);


#2

You are using double quotes ( " ) instead of single quotes ( ' ).


#3

Thank you, thought it might be that be was sure it said it doesn't matter if the quotations were single or double.