A space before class name inside quotes makes 4th testcase to fail #7593
xdev2381
commented
$("#target1").addClass(" btn-primary");
I think the RegEx needs to be modified to allow spaces, for the sample code above.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Challenge Target the same element with multiple jQuery Selectors has an issue.
User Agent is:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36
.Please describe how to reproduce this issue, and include links to screenshots if possible.
challenge:115
A space before class name inside quotes makes 4th testcase to fail.The fourth testcase is Only add one class with each of your three selectors.
My code: