title: how to remove child div using javascript
body: <p>this my html </p>
  
  <pre><code>&lt;div&gt;
      &lt;div id="div2" ondrop="drop(event)" ondragover="allowDrop(event)"&gt;&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>this my script </p>
  
  <pre><code>var list=document.getElementById("div2");
  list.removeChild("div2""));
  </code></pre>
  
  <p>when i click the buttton i need to remove the child div(div2)  how to do that. using this code i am facing problem please tell. help me . we have any other solution for this problem </p>