title: How to save this button status in a localstorage?
body: <p>I have a button that mute all sounds in my page and I have other that unmute it.</p>
  
  <pre><code>$(document).ready(function(){
  
     /*** Mute all ***/
     $('#mute_all').on('click',function(){
  
        /*** Mute all video and audio on page ***/
        $('body video, body audio').each(function(){
           /*** Do it here globally ***/
           $(this).prop('muted', true);
        });
  
     });
  
     /*** UnMute all ***/
     $('#unmute_all').on('click',function(){
  
        /*** Un Mute all video and audio on page ***/
        $('body video, body audio').each(function(){
           /*** Do it here globally ***/
           $(this).prop('muted', false);
        });
  
     });
  
  
  });
  </code></pre>
  
  <p>The problem is when I refresh the page, changes arent persist. How can I do it with a LocalStorage?</p>
  
  <p>Thanks!!</p>