document.getElementById('toggle').addEventListener('change', function() {
    const imageContainer = document.getElementById('image-container');
    if (this.checked) {
        imageContainer.style.display = 'block';
    } else {
        imageContainer.style.display = 'none';
    }
});
