Current lesson | Lesson 2/5

Saving an Empty Array to LocalStorage on Page Load

Build Your Own Management App: LocalStorage, JavaScript and Bootstrap 0%
I'll show you how to initialise LocalStorage on the first page load with an empty array, without overwriting existing data in subsequent sessions.
Instructor
Up next Inserting a New Object into the LocalStorage Array