e.alignSelf = '';
                item.style.order = '';
                item.style.float = '';
                updateItemDisplay(item, index);
            });
            updateCodeOutput();
        }
        
        function updateCodeOutput() {
            const container = document.getElementById('flexContainer');
            const containerStyles = {
                display: container.style.display || 'flex',
                flexDirection: container.style.flexDirection || 'row',
                flexWr