JSFiddle - React, Tailwind, and code Playground

HTML

<div id="example-one">
      <ul class="nav">
         <li class="nav-one"><a href="#featured" class="current">Billing Address</a></li>
      </ul>
      <div class="list-wrap">
          hello
      </div>
  </div>


above this line is from example-one------------below is new-div

<div id="new-div"></div>

JavaScript

$("#new-div").html($("#example-one"));
    $("#example-one").hide;