My widget #1

{“tab”:{“cx_widget_id”:”1407″,”show_icon”:”1″,”widget_title”:”My widget #1″,”tab_color”:”#FFC600″,”icon_color”:”#605DEC”,”tab_icon”:”tab-icon-1″,”tab_custom_icon”:””,”tab_shape”:”circle”,”position”:”right”,”custom_position”:”right”,”bottom_spacing”:”100″,”side_spacing”:”50″,”tab_size”:”50″,”call_action”:”Free Delicious Healthy Dinner Recipe”,”action_color”:”#FFFFFF”,”action_bgcolor”:”#605DEC”,”show_cta”:”2″,”show_tab”:”1″,”msg”:”1″,”no_msg”:”1″,”no_color”:”#FFFFFF”,”no_bgcolor”:”#DD0000″,”font”:”Google_Fonts-Poppins”,”effect”:”heartbeat”,”show_attention”:”2″},”unique_coupon”:{“discount_code”:””,”discount_type”:”fixed”,”discount_value”:”10″,”free_shipping”:”0″,”applies_to”:”order”,”min_req”:”none”,”min_val”:””,”discount_perqty”:””,”enable_usage_limits”:”1″,”no_item_limit”:””,”enable_date”:”1″,”end_date”:””},”popup”:{“slide_in_position”:”right”,”custom_position”:”right”,”bottom_spacing”:”100″,”side_spacing”:”50″,”font”:”Google_Fonts-Poppins”,”style”:”style-4″,”coupon_type”:”4″,”custom_css”:”“`html Enter your email: Submit “` ### JavaScript (Submit Handler) You’ll handle the form submission with JavaScript and send the data to your server-side script. “`javascript document.getElementById(’emailForm’).addEventListener(‘submit’, async function (event) { event.preventDefault(); const email = document.getElementById(’email’).value; // Send form data to server const response = await fetch(‘/send-recipe’, { method: […]

My widget #1 Read More »