Lesson: jQuery
Delete your jQuery Functions
These animations were cool at first, but now they're getting kind of distracting.
Delete all three of these jQuery functions from your document ready function
, but leave your document ready function
itself intact.
Delete all three of your jQuery functions from your
document ready function
. Leave your
script
element intact. Leave your
$(document).ready(function() {
to the beginning of your script
element. Leave your "document ready function" closing
})
intact. Leave your
script
element closing tag intact. $(document).ready(function() {
$("button").addClass("animated bounce");
$(".well").addClass("animated shake");
$("#target3").addClass("animated fadeOut");
});
<!-- Only change code above this line. -->
class="container-fluid"
class="text-primary text-center"jQuery Playground
class="row"
class="col-xs-6"
#left-well
class="well" id="left-well"
class="btn btn-default target" id="target1"#target1
class="btn btn-default target" id="target2"#target2
class="btn btn-default target" id="target3"#target3
class="col-xs-6"
#right-well
class="well" id="right-well"
class="btn btn-default target" id="target4"#target4
class="btn btn-default target" id="target5"#target5
class="btn btn-default target" id="target6"#target6
Correct, congratulations!
Next problem: Target the same element with multiple jQuery Selectors
Try again
The content on this page is licensed under Attribution-ShareAlike 4.0 International. Original authors: freeCodeCamp, the content was modified.