title: Remove an item from localStorage
body: <p>I'm trying to make, a simple To-Do list in jQuery and I've ran into a problem. This is my first time trying to use <code>localStorage</code>. So after making structure for my To-Do list, I wanted to see my items when I refresh page. So first I added this line in my JS:</p>
  
  <pre><code>localStorage.setItem("todolist", $('#todoList').html());
  </code></pre>
  
  <p>Then I added </p>
  
  <pre><code>$('#todoList').html(localStorage.getItem("todolist"));
  </code></pre>
  
  <p>And this part was working fine but I wanted to another line on my <code>deleteListItem()</code> function for deleting my To-Do items from storage. This was the line I added:</p>
  
  <pre><code>localStorage.removeItem("todolist", $('#todoList').html());
  </code></pre>
  
  <p>After adding this line I deleted my whole <code>&lt;ul&gt;</code> element from browser. Is there a way to reverse this also is there a way to make my To-Do list to work properly with <code>localStorage</code>.</p>
  
  <p>Here is mine JSBin so you better understand what I'm doing:</p>
  
  <blockquote>
    <p><a href="http://jsbin.com/ciyufi/2/edit?html,js,output" rel="nofollow noreferrer">http://jsbin.com/ciyufi/2/edit?html,js,output</a></p>
  </blockquote>