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");
})
});
});