# Why is there a duplicate target 5 in this challenge?

**URL:** <https://forum.freecodecamp.org/t/why-is-there-a-duplicate-target-5-in-this-challenge/67369>\
**Category:** General\
**Created:** [December 20, 2016, 6:11am UTC](https://forum.freecodecamp.org/t/why-is-there-a-duplicate-target-5-in-this-challenge/67369 "2016-12-20T06:11:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sedansvan](https://avatars.discourse-cdn.com/v4/letter/s/3be4f8/32.png) [@sedansvan](https://forum.freecodecamp.org/u/sedansvan)\
**Post date:** [December 20, 2016, 6:11am UTC](https://forum.freecodecamp.org/t/why-is-there-a-duplicate-target-5-in-this-challenge/67369/1 "2016-12-20T06:11:44Z")

</div>

I’m currently doing the “Clone an Element Using jQuery” challenge.

The code is as follows.

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

  });
</script>

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

<body>
  <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>
</body>

```

However it produces two target5 buttons in the left well. The motive of the challenge seems to be only to copy one target5 into the left well. Is this a bug? And also, egardless of whether it is or isn’t a bug, how would you go about to copying only one #target5 button to the left well?

---

<div class="post-metadata">

**Author:** ![jenovs](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jenovs/32/60963_2.png) [@jenovs](https://forum.freecodecamp.org/u/jenovs)\
**Post date:** [December 20, 2016, 6:31am UTC](https://forum.freecodecamp.org/t/why-is-there-a-duplicate-target-5-in-this-challenge/67369/2 "2016-12-20T06:31:57Z")

</div>

> **[Extra clone in .clone().appendTo() challenges?](https://forum.freecodecamp.org/t/extra-clone-in-clone-appendto-challenges/42071/2)**
>
> It is a bug in FCC which will be fixed in the upcoming update when the site moves to React. Source: https://github.com/FreeCodeCamp/FreeCodeCamp/issues/10700 You can check that it’s fixed on the beta site:

---

<div class="post-metadata">

**Author:** ![jwilkins.oboe](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jwilkins.oboe/32/179497_2.png) [@jwilkins.oboe](https://forum.freecodecamp.org/u/jwilkins.oboe)\
**Post date:** [January 16, 2021, 6:11am UTC](https://forum.freecodecamp.org/t/why-is-there-a-duplicate-target-5-in-this-challenge/67369/3 "2021-01-16T06:11:00Z")

</div>

Closed on January 16, 2021, 6:11am UTC


