freeCodeCamp
freeCodeCamp copied to clipboard
targeting bug
Challenge http://www.freecodecamp.com/challenges/waypoint-target-the-same-element-with-multiple-jquery-selectors has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

@impaler1 thanks for posting this issue! Actually your code is incorrect because:
Use each of these jQuery selectors to target your button element with the class btn and the id target1. Use the addClass() jQuery function to give the element one new class for each selector: animated, shake, and btn-primary.
So the correct code looks like this:
$('.btn').addClass('animated');
$('button').addClass('shake');
$('#target1').addClass('btn-primary');
or another five combinations.
Please review the Guidelines for Contributing, thank you!.