/*************************************** * Wix Velo: Body Type Quiz (Somatotype) * - Counts answers across 3 columns: * ECTOMORPH / MESOMORPH / ENDOMORPH * - Shows a result box + recommended CTA * - (Optional) Saves submission to a collection * * HOW TO USE (quick): * 1) Add 8 RadioGroup elements to your page: * #q1, #q2, #q3, #q4, #q5, #q6, #q7, #q8 * Each must have 3 options in the same order: * 1st = Ectomorph, 2nd = Mesomorph, 3rd = Endomorph * * 2) Add: * Button: #submitBtn * Text: #resultTitle * Text: #resultSubtitle * Box: #resultBox * Button: #bookBtn (optional, link to booking) * * 3) (Optional) Create a collection "BodyTypeQuizSubmissions" * fields (suggested): * name (text), email (text), * ectoScore (number), mesoScore (number), endoScore (number), * resultType (text), isHybrid (boolean), * createdAt (date/time) [Wix adds _createdDate automatically] * * 4) Turn ON Dev Mode and paste this into the page code. ***************************************/ import wixData from "wix-data"; import wixLocation from "wix-location"; const QUESTIONS = [ { id: "#q1", label: "Frame" }, { id: "#q2", label: "Weight gain area" }, { id: "#q3", label: "Metabolism" }, { id: "#q4", label: "Muscle building" }, { id: "#q5", label: "Muscle tone" }, { id: "#q6", label: "Energy" }, { id: "#q7", label: "Treatment response" }, { id: "#q8", label: "Stress response" } ]; // Map option index -> type // 0 = ecto, 1 = meso, 2 = endo const TYPE_BY_INDEX = ["ECTOMORPH", "MESOMORPH", "ENDOMORPH"]; $w.onReady(function () { // Hide result area on load $w("#resultBox").collapse(); $w("#submitBtn").onClick(() => { try { const { scores, answers } = scoreQuiz(); const result = resolveResult(scores); renderResult(result, scores); // OPTIONAL: Save to collection (uncomment + ensure collection exists) // saveSubmission({ scores, result, answers }); // OPTIONAL: Scroll to result $w("#resultBox").expand(); $w("#resultBox").scrollTo(); } catch (err) { // Friendly validation message wixLocation.to(wixLocation.url); // removes any weird state; optional // Or just show a text warning if you have one // $w("#errorText").text = err.message; // $w("#errorText").show(); console.error(err); } }); // OPTIONAL: booking button handler // Make sure #bookBtn has a link OR set it here // $w("#bookBtn").onClick(() => wixLocation.to("/book-now")); }); /** * Reads all radio groups, validates completion, and counts each type. */ function scoreQuiz() { const scores = { ECTOMORPH: 0, MESOMORPH: 0, ENDOMORPH: 0 }; const answers = []; for (const q of QUESTIONS) { const rg = $w(q.id); // Validate: must select something if (!rg.value) { // If you prefer, you can highlight the unanswered input throw new Error("Please answer every question to see your results."); } // Wix RadioGroup value is the "value" of option, not index. // We’ll derive index by finding it in options. const idx = rg.options.findIndex((opt) => opt.value === rg.value); if (idx < 0 || idx > 2) { throw new Error(`Invalid selection detected for ${q.label}.`); } const type = TYPE_BY_INDEX[idx]; scores[type] += 1; answers.push({ question: q.label, selectedValue: rg.value, selectedIndex: idx, type }); } return { scores, answers }; } /** * Determines dominant type and hybrid flag. * Hybrid logic: * - If top score ties with another, it’s a hybrid. * - If top score is only 1 higher than second place, call it “leaning hybrid.” */ function resolveResult(scores) { const entries = Object.entries(scores).sort((a, b) => b[1] - a[1]); const [topType, topScore] = entries[0]; const [secondType, secondScore] = entries[1]; const isTie = topScore === secondScore; const isLeaningHybrid = !isTie && (topScore - secondScore === 1); let resultType = topType; let hybridWith = null; if (isTie) { // True hybrid: show both types in a clean way resultType = `${topType} + ${secondType}`; hybridWith = secondType; } else if (isLeaningHybrid) { // Leaning hybrid: still show a dominant type but note the runner-up hybridWith = secondType; } return { dominant: topType, resultType, hybridWith, isHybrid: isTie || isLeaningHybrid }; } /** * Updates your page UI with the result. * Make sure you created: * #resultTitle (Text) * #resultSubtitle (Text) * #resultBox (Box) */ function renderResult(result, scores) { const { dominant, resultType, hybridWith, isHybrid } = result; $w("#resultTitle").text = `Your Body Type: ${resultType}`; // Short, client-friendly lines you can tweak const blurbs = { ECTOMORPH: "Naturally lean with a faster metabolism. Your focus is nervous system balance, nourishment, and muscle tone support.", MESOMORPH: "Naturally athletic and responsive. Your focus is consistency, inflammation control, and sculpting maintenance.", ENDOMORPH: "Stores fat more easily and thrives with structure. Your focus is detox pathways, water retention, and hormone-friendly habits." }; const serviceRecs = { ECTOMORPH: [ "Magnesium Lymphatic Massage", "Cranial Massage", "Red Light Sessions" ], MESOMORPH: [ "Lymphatic Drainage", "Wood Therapy", "Fat Cavitation" ], ENDOMORPH: [ "Lymphatic Drainage", "Yeso Therapy Wraps", "Hot Stones + Steam" ] }; // If hybrid, blend messaging let subtitle = blurbs[dominant]; let recs = serviceRecs[dominant]; if (isHybrid && hybridWith) { subtitle = `${blurbs[dominant]} You also show strong ${hybridWith.toLowerCase()} traits—so your plan should be customized.`; // Merge & de-dupe recs recs = Array.from(new Set([...serviceRecs[dominant], ...serviceRecs[hybridWith]])); } const scoreLine = `Scores — Ecto: ${scores.ECTOMORPH}, Meso: ${scores.MESOMORPH}, Endo: ${scores.ENDOMORPH}`; const recLine = `Best matches for you: ${recs.join(" • ")}`; $w("#resultSubtitle").text = `${subtitle}\n\n${recLine}\n${scoreLine}`; } /** * OPTIONAL: Save to a collection (requires permission rules set properly). * Create a collection named "BodyTypeQuizSubmissions" and update field keys as needed. */ async function saveSubmission({ scores, result, answers }) { const item = { // If you also collect name/email on the page, add: // name: $w("#nameInput").value, // email: $w("#emailInput").value, ectoScore: scores.ECTOMORPH, mesoScore: scores.MESOMORPH, endoScore: scores.ENDOMORPH, resultType: result.resultType, isHybrid: result.isHybrid, // Storing raw answers is optional—best practice is to store a summary only, // but you can store as JSON string if you want: answersJson: JSON.stringify(answers) }; await wixData.insert("BodyTypeQuizSubmissions", item); }
top of page
Search

Natural Energy Enhancement Tips for Everyday Vitality

Feeling tired and sluggish can slow us down. I know how important it is to keep my energy up throughout the day. Luckily, there are simple, natural ways to boost energy without relying on caffeine or sugar crashes. I want to share some easy, effective tips that help me stay vibrant and focused. These natural energy enhancement tips are perfect for anyone looking to feel more alive and ready to take on the day.


Simple Natural Energy Enhancement Tips That Work


When I want a quick energy lift, I turn to habits that support my body’s natural rhythm. Here are some of my favorite tips:


  • Stay Hydrated: Dehydration can make you feel tired fast. Drinking water regularly keeps your body running smoothly. I keep a water bottle nearby and sip throughout the day.

  • Move Your Body: Even a short walk or some light stretching can wake you up. Exercise boosts circulation and releases feel-good hormones.

  • Eat Balanced Meals: I focus on meals with protein, healthy fats, and fiber. This combo keeps my blood sugar steady and energy consistent.

  • Get Enough Sleep: Quality sleep is the foundation of energy. I aim for 7-8 hours and keep a regular bedtime.

  • Take Breaks: When I work for long periods, I take short breaks to refresh my mind and body.


These small changes add up. They help me avoid energy slumps and keep my focus sharp.


Eye-level view of a glass of water on a wooden table
Stay hydrated for better energy

What Vitamin Is Best for Fatigue?


Sometimes, fatigue comes from missing key nutrients. Vitamins play a big role in energy production. Here are some vitamins I find helpful:


  • Vitamin B12: This vitamin helps convert food into energy. It’s especially important if you follow a vegetarian or vegan diet.

  • Vitamin D: Low levels can cause tiredness. Getting some sunlight or taking a supplement can boost your mood and energy.

  • Iron: Iron deficiency leads to anemia, which causes fatigue. Eating iron-rich foods like spinach, beans, and lean meats helps.

  • Magnesium: This mineral supports muscle and nerve function. It also helps with sleep quality.


If you feel constantly tired, it’s a good idea to check with a healthcare provider. They can test for deficiencies and recommend supplements if needed.


How to Use Food as Natural Energy Boosters


Food is fuel. Choosing the right foods can keep your energy steady all day. Here are some of my go-to energy-boosting foods:


  • Oats: They release energy slowly, so you don’t get a crash.

  • Nuts and Seeds: Packed with protein and healthy fats, they keep hunger and energy dips away.

  • Bananas: A quick source of natural sugars and potassium.

  • Leafy Greens: Spinach and kale provide iron and magnesium.

  • Greek Yogurt: High in protein and probiotics for gut health.


I like to prepare snacks with these ingredients to keep my energy up between meals. For example, a small bowl of Greek yogurt with nuts and banana slices is a perfect pick-me-up.


Close-up of a bowl of oatmeal topped with nuts and fresh fruit
Healthy oatmeal breakfast for sustained energy

Why Mindfulness and Breathing Matter for Energy


Energy isn’t just physical. Mental and emotional energy count too. When I feel overwhelmed or stressed, my energy dips. That’s when I use mindfulness and breathing exercises:


  • Deep Breathing: Taking slow, deep breaths increases oxygen flow and calms the nervous system.

  • Meditation: Even 5 minutes of quiet focus helps clear my mind and recharge.

  • Mindful Breaks: Paying attention to the present moment reduces stress and boosts mental clarity.


These practices help me reset and feel more energized without any caffeine or sugar.


Creating a Daily Routine for Lasting Energy


Consistency is key. I’ve found that building a daily routine around these natural energy enhancement tips makes a big difference. Here’s a simple routine I follow:


  1. Morning: Drink a glass of water, do light stretching, and eat a balanced breakfast.

  2. Midday: Take a short walk, eat a healthy snack, and practice deep breathing.

  3. Afternoon: Hydrate, have a nutrient-rich lunch, and take a mindful break.

  4. Evening: Wind down with light activity, avoid screens before bed, and get enough sleep.


This routine keeps my energy steady and helps me feel my best every day.


If you want to explore more about natural energy boosters, check out resources that focus on holistic wellness and body care. They offer great tips tailored for women seeking balanced vitality.


Embrace Your Energy and Thrive


Boosting your energy naturally is about caring for your whole self. When I focus on hydration, nutrition, movement, and mindfulness, I feel more alive and ready to enjoy life. These natural energy enhancement tips are easy to fit into any schedule and make a real difference.


Try adding one or two of these habits today. Notice how your energy shifts. You deserve to feel vibrant and strong every day. Let’s keep moving forward with energy and joy!

 
 
 

Comments


bottom of page