Local storage set item

localStorage.setItem('key', 'value')