Change:
], "tests": [ "assert($(".btn-default").length === 0, 'Remove the <code>btn-default</code> class from all of your <code>button</code> elements.')", <del> "assert(editor.match(/btn btn-default/g), 'Only use jQuery to remove this class from the element.')" </del> <ins> "assert(editor.match(/btn btn-default/g), 'Only use jQuery to remove this class from the element.')", "assert(editor.match(/.[vs]*removeClass[sv]*([sv]*('|")s*btn-defaults*('|")[sv]*)/gm), 'Only remove the <code>btn-default</code> class.')" </ins> ], "challengeSeed": [ "fccss",

Discussion:
Challenge has an issue. The instructions were: "Let's remove the btn-default class from all of our button elements. Here's how you would do this for a specific button, add $("#target2").removeClass("btn-default");" But even before I typed in "btn-default", it said my answer was already correct:
Dear camper, your issue is a duplicate and already fixed: Please see .

Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. the challenge was marked as finished even with just $("button").removeClass it should be marked as finished with $("button").removeClass("btn-default");
Reference to Spec says specifically However this works as well According to spec should not be possible, only . Also does not check wether was removed only from elements, as described above.
Dear camper, your issue is a duplicate and already fixed: Please see .

Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. Expected passing code: $("button").removeClass("btn-default"); Exercise automatically passes with: $("button").removeClass();
Well, technically removes the class. :)
Yep technically it works but removeClass() removes all class whereas removeClass('btn-default') is more specific. Just a minor thing.
Dear camper, your issue is a duplicate and already fixed: Please see .

Challenge has an issue. right now, whenever the camper write the removeClass() function -even before specifying the class he/she wants to be removed-. the application automatically marks the challenge as completed. The reason: when the parameter isn't specified to removeClass() function it removes ALL classes of the selected element, which means that the "btn-default" class (as required by the challenge) is going to be removed but the problem is that it will remove all other classes at the same time. I think the test should make sure that other classes still to the element while "btn-default" is removed. !
Same thing happened to me just now, using Google Chrome on Windows 10.
Dear camper, your issue is a duplicate and already fixed: Please see .

Challenge has an issue. You can complete the waypoint by simply calling removeClass() on all of the button elements without specifically removing "btn-default". !
Dear camper, your issue is a duplicate and already fixed: Please see .

Challenge has an issue. The Challenge is marked as complete even if the required tasks are not completed successfully. Refer to the screenshot: ! Just adding the removeClass(without any parameters) on the jQuery selector marks the task as complete. Thank you. :smile:
I have the same issue but for me i can go to the next challenge although not all tests passed. !
Dear camper, your issue is a duplicate and already fixed: Please see .

Challenge has an issue. Please describe how to reproduce it, and include links to screenshots if possible. !. It has to control if the user has really removed the btn-default class. You can in the screenshot that it accepts the code even though i have not inserted btn-default in the removeClass() function
Thanks Confirmed, challenge is marked completed with incorrect answer