LocalStorage API in JavaScript localStorage API in JavaScript - Store your data over a single browsing session. A comprehensive guide to how to work with localStorage.