ubmit', function(event) {
            event.preventDefault();

            const tripType = document.getElementById('trip-type').value;
            const duration = parseInt(document.getElementById('duration').value, 10);
            const weather = document.getElementById('weather').value;

            const packingList = generatePackingList(tripType, duration, weather);
            displayPackingList(packingList);
        });

        function generatePackingList(tripType, duration, weather) {
           