top of page

My Portfolio

Welcome to my portfolio. Here you’ll find a selection of my work. Explore my projects to learn more about what I do.

bottom of page
import wixData from 'wix-data'; $w.onReady(function () { $w('#html1').onMessage(async (event) => { const data = event.data; if (!data || !data.quizType) { console.log("No quiz type received."); return; } try { if (data.quizType === "business") { await wixData.insert("BusinessQuizResponses", { businessName: data.businessName || "", ownerName: data.ownerName || "", email: data.email || "", phone: data.phone || "", businessType: data.businessType || "", businessStage: data.businessStage || "", mainChallenge: data.mainChallenge || "", postingFrequency: data.postingFrequency || "", paidAds: data.paidAds || "", targetCustomers: data.targetCustomers || "", mainPlatform: data.mainPlatform || "", supportNeeded: data.supportNeeded || "", budget: data.budget || "", goal: data.goal || "", score: Number(data.score) || 0, resultType: data.resultType || "", submittedAt: new Date() }); } if (data.quizType === "music") { await wixData.insert("ArtistQuizResponses", { artistName: data.artistName || "", email: data.email || "", phone: data.phone || "", genre: data.genre || "", profileType: data.profileType || "", careerStage: data.careerStage || "", releasedSongs: data.releasedSongs || "", strongestPlatform: data.strongestPlatform || "", promotionFrequency: data.promotionFrequency || "", paidAds: data.paidAds || "", biggestChallenge: data.biggestChallenge || "", targetAudience: data.targetAudience || "", supportNeeded: data.supportNeeded || "", goal: data.goal || "", score: Number(data.score) || 0, resultType: data.resultType || "", submittedAt: new Date() }); } console.log("Quiz response saved successfully."); } catch (err) { console.error("Save failed:", err); } }); });