How Am I passing these challenges?

I just passed the bouncy button test but my buttons aren’t bouncing. How did I pass then? What’s the deal? I don’t think what I’m coding is correct bcuz the final product after I pass the challenge doesn’t look appealing. Not just this challenge but the last couple previous challenges. Any thoughts guys? ThxTell us what’s happening:

Your code so far

  $(document).ready(function() {
    $("button").addClass("animated bounce");

<!-- Only change code above this line. -->

<div class="container-fluid">
  <h3 class="text-primary text-center">jQuery Playground</h3>
  <div class="row">
    <div class="col-xs-6">
      <div class="well" id="left-well">
        <button class="btn btn-default target" id="target1">#target1</button>
        <button class="btn btn-default target" id="target2">#target2</button>
        <button class="btn btn-default target" id="target3">#target3</button>
    <div class="col-xs-6">
      <div class="well" id="right-well">
        <button class="btn btn-default target" id="target4">#target4</button>
        <button class="btn btn-default target" id="target5">#target5</button>
        <button class="btn btn-default target" id="target6">#target6</button>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (iPad; CPU OS 11_2_2 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) CriOS/64.0.3282.112 Mobile/15C202 Safari/604.1.

Link to the challenge:

If you are using the above code on the Target Elements by Class Using jQuery challenge, then it should not pass the tests. What is the challenge name for which you have posted the above code?

Target HTML elements with selectors using jQuery…thx randelldawson!

Can I repost my code for that challenge or will it have changed somewhat now that I “passed” it?

You can always go back to a challenge you have previously passed and put new code into it and run the tests again.

1 Like