title: Jquery function appending to empty div
body: <p>I am currently trying to teach myself some coding, and I am following along on a lesson of how to make a stopwatch.  So far I have gotten everything to work, except when I hit the lap button it is not taking the laptime and appending it to an empty div.  Any ideas?</p>
  <p>This is the function I am trying to use:</p>
  <pre><code>function addLap(){
      var myLapDetails = &quot;&lt;div&gt;Lap&lt;/div&gt;&quot;;
      $(&quot;#myLapDetails&quot;).appendTo(&quot;#laps&quot;);
  }
  </code></pre>
  <p>This is where I am trying to place it:</p>
  <pre><code>&lt;div id=&quot;laps&quot;&gt;
  </code></pre>
    
  <p>Any thoughts?</p>