I want that forEach click I made a new value (setItem, id) appears on my localstorage without delete the last value anyone can help me? [duplicate]

Web localStorage visualization

Web localStorage visualization2

import { items } from './store.js';

document.addEventListener("DOMContentLoaded", function() {

    const objects = [
        nuits,
        blanches,
        bleumarines,
        verts,
        roses,
        natures,
        vitragenoirs,
        oceans,
        carrotes,
        oranges
    ];

    objects.forEach((Object) => {
        Object.addEventListener('click', (event) => {
            event.stopPropagation();
            const id = Object.id;
            localStorage.setItem('selectedItem', id);
        });

        span.addEventListener('click', (event) => {
            window.open("store.html", "_top");
        })

    });
});