SOLVED: Can't seem to pass "Target the same element with multiple jQuery Selectors"

SOLVED: Can't seem to pass "Target the same element with multiple jQuery Selectors"
0.0 0

#1

It tells me only to “Only add one class with each of your three selectors.” and “Your #target1 element should have the classes animated‚ shake and btn-primary.”. Seems to contradict itself and I can’t pass this stage.

Hope you can help.

TIA,

Gabriel


#2

The instruction spell it out:

  • Add the animated class to all elements with type button.
    
  • Add the shake class to all the buttons with class .btn.
    
  • Add the btn-primary class to the button with id #target1.
    

For the first one you need to use an element selector, for the second a class selector, and lastly and id selector.