Save the whole list

Your task Inside save(), store the list as text: localStorage.setItem("items", JSON.stringify(items));. Run it, then add something in the preview.

Getting the editor ready