Error in Code for 5. Mark the Current Article


I keep getting the error message 'Oops, try again. Add the line $('.article').removeClass('current'); inside your $('.article').click() function.' but I can't see what's wrong with my code, it looks the same as the hint as far as I can tell, please help!

var main = function() {
    $('.article').click(function() {



HI this line


you wrote .removeCLass instead of .removeClass


You have spelt removeClass wrong in line 3 of your code, @huneeya


Thank you so much @bartholomewallen and @wizmarco !!


No worries @huneeya. I'm glad to know that your issue was resolved. Keep coding hard :laughing:!


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