title: HTML JavaScript- how to empty contents of div which holds local storage
body: <p>How can i empty the contents of div=history. This div is used to display local storage, once the 'clear button is clicked i would like that page to clear. Can anyone advise me?</p>
  
  <pre><code>&lt;button onclick="click_button_clear()"&gt;Clear&lt;/button&gt;
  
  &lt;div id="history"&gt;&lt;/div&gt;
  </code></pre>