removeClass marks as finished even though it's unfinished.
Challenge http://www.freecodecamp.com/challenges/waypoint-remove-classes-from-an-element-with-jquery 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 #2306
Spec says specifically
Remove the
btn-defaultclass from all of yourbuttonelements.
However this works as well
$('.btn').removeClass()
According to spec .btn should not be possible, only button. Also does not check wether .btn-default was removed only from button elements, as described above.
Dear camper, your issue is a duplicate and already fixed: https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2301 https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2197 https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2160 https://github.com/FreeCodeCamp/FreeCodeCamp/issues/1923 https://github.com/FreeCodeCamp/FreeCodeCamp/issues/1898
Please see Help I've Found a Bug.