window.addEventListener('load', function() { // TODO Handle event for quote estimate form page const initWeatherOpt = function() { return `
` } function onAddWeather(e) { e.preventDefault(); const weatherOpt = initWeatherOpt(); $('.weather-options').append(weatherOpt); } $('button#btn-add-weather').on('click', onAddWeather); });