help!Use appendTo to Move Elements with jQuery

Tell us what’s happening:

what are ham doing wrong? i have tried everything!

Your code so far

<script>
  $(document).ready(function() {
    $("#target1").css("color", "red");
    $("#target1").prop("disabled", true);
    $("#target4").remove();
$("#target2").appendTo("left-well");
    $("#target2").inside("right-well");
  });
</script>

<!-- 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">
      <h4>#left-well</h4>
      <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>
    </div>
    <div class="col-xs-6">
      <h4>#right-well</h4>
      <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>
      </div>
    </div>
  </div>
</div>

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6.

Link to the challenge:
https://www.freecodecamp.org/challenges/use-appendto-to-move-elements-with-jquery

The first line in the above code you wrote appends the button with id=“target2” to the div with id=“left-well”. It was already in the div with id=“left-well”, so nothing happened.

On the second line you attempt to use a method called “inside” on the button with id=“target2”. I do not know why you are trying to use “inside”, because no where in the challenge instructions does it mention such a method and also, there is no mention of such a method name in the entire jQuery library documentation.

The challenge asks you to move the button with id=“target2” to the div with id=“right-well”. Try again and let us know what you try.