title: Add and Remove to Favorites in local storage
body: <p>I'm Learning Jquery. Now I'm creating a list with add to favorite link. I want to store the li value (eg html / Jquery / css) on local storage using jquery. Once it added to local storage I want to change the text for "Add to Fav" in to "Remove".</p>
  
  <p>Then once I click the "Remove" link, I want to get "Add to Fav"  again.</p>
  
  <p>Please check <strong><a href="https://jsfiddle.net/3yjc04jx/" rel="noreferrer">this link</a></strong>, where I have pasted my current code.</p>
  
  <p>Thanks.</p>
  
  <pre><code>$('.lists a').click(function(e){
      var favs = $(this).parent().html();
      alert(favs);
    $(this).text('Remove');
  });
  </code></pre>