Skip to content

Issue on page- 151: Target the same element with multiple jQuery Selectors #7574

Closed
ChethanAshwathaReddy opened this Issue · 1 comment

2 participants

@ChethanAshwathaReddy

Issue Description

  • As per the description of test case, below combination cannot be achieved. Please assist have added the code.

Only add one class with each of your three selectors.
Your #target1 element should have the classes animated‚ shake and btn-primary.
Only use jQuery to add these classes to the element.

Browser Information

  • Chrome,48.0.2564.116 m (64-bit)
  • Windows 8.1

Your Code

jQuery Playground

#left-well

#target1 #target2 #target3

#right-well

#target4 #target5 #target6
@raisedadead
Free Code Camp member

@ChethanAshwathaReddy The instructions and the tests are valid.

It is possible to add all the classes to same element, with different selectors.
Please visit our Help Chat if you are stuck.

Closing as not a site issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.