efault';
        }
        
        function addItem() {
            const container = document.getElementById('flexContainer');
            const itemCount = container.children.length;
            const newItem = document.createElement('div');
            newItem.className = 'flex-item';
            newItem.onclick = () => selectItem(itemCount);
            newItem.innerHTML = `
                <div class="item-number">${itemCount + 1}</div>
                <div class="item-props">Default</div>
           