Spaces:
Running
Running
Build a responsive, mystical yet clean website called "SoulCharge Energy Meter". The site acts as an interactive energy frequency assessment and guidance tool based on Dr. David Hawkins' Map of Consciousness (Shame to Enlightenment). 🧭 Homepage layout: Hero section: Title "What's Your Energy Today?" with subtle glowing aura animation around text. Background: soft gradient shifting from dark indigo (low energy) to golden white (high energy). CTA Button: “Take the Energy Check-In” (scrolls to interactive quiz) 🔍 Main Feature - Energy Frequency Quiz: Include ~7 intuitive self-assessment questions. Example questions: "Right now, do you feel safe, threatened, or uncertain?" "Do you hold any regret, guilt, or shame about something today?" "Is your mind full of blame, hope, love, or acceptance?" "What emotions have been strongest for you this week?" "How do you respond to challenge: with fear, courage, or neutrality?" "Do you feel life is against you or working with you?" "What word resonates most right now: Control, Flow, Forgiveness, Joy?" 🧿 Based on the score and mapped energy level, display a result page showing: Your Energy Frequency Level (numerical range: e.g. 125 - Desire or 540 - Joy) Emotion + Life View Summary (from the chart) Custom Affirmation (based on level, e.g. for Courage: "I have what it takes.") Tip or Practice to Elevate Energy, e.g.: Journaling regret to release shame Practicing gratitude to shift from fear to courage Acts of forgiveness to rise from anger to acceptance Meditations to anchor joy or expand peace 🔄 Include "Check Again Later" button to encourage return visits. 🧘🏽♀️ Add optional “Energy Library” page with: Level-by-level descriptions of all 17 frequencies (from Shame to Enlightenment) Guided practices Journal prompts Sound frequencies / music recommendations Video or visual affirmations 🎨 Style: Font: Modern sans serif with soft corners (e.g., Nunito or Lato) Colors: Energy-coded gradients for each level (e.g., red for shame, green for willingness, violet for peace) Icons: Chakra-inspired energy symbols or radiant orbs for each level ✅ Mobile optimized ✅ SEO metadata for “energy frequency quiz”, “raise your vibration”, “consciousness levels tool” ✅ Optional user profile to track energy trends over time (add later) - Initial Deployment
4d44914
verified
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>SoulCharge Energy Meter | Discover Your Vibration Frequency</title> | |
| <meta name="description" content="Take our energy frequency quiz based on Dr. David Hawkins' Map of Consciousness to discover your current vibration level and receive personalized guidance."> | |
| <meta name="keywords" content="energy frequency quiz, raise your vibration, consciousness levels tool, vibration assessment, emotional frequency"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link href="https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700&display=swap" rel="stylesheet"> | |
| <script src="https://kit.fontawesome.com/a076d05399.js" crossorigin="anonymous"></script> | |
| <style> | |
| body { | |
| font-family: 'Nunito', sans-serif; | |
| background-color: #f8f9fa; | |
| } | |
| .glow-text { | |
| animation: glow 2s ease-in-out infinite alternate; | |
| } | |
| @keyframes glow { | |
| from { | |
| text-shadow: 0 0 5px rgba(255, 255, 255, 0.5); | |
| } | |
| to { | |
| text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 215, 0, 0.6); | |
| } | |
| } | |
| .energy-gradient { | |
| background: linear-gradient(135deg, #4b0082, #6a5acd, #87ceeb, #fffacd, #ffffff); | |
| background-size: 400% 400%; | |
| animation: gradient 15s ease infinite; | |
| } | |
| @keyframes gradient { | |
| 0% { | |
| background-position: 0% 50%; | |
| } | |
| 50% { | |
| background-position: 100% 50%; | |
| } | |
| 100% { | |
| background-position: 0% 50%; | |
| } | |
| } | |
| .energy-level-shame { background-color: #8b0000; } | |
| .energy-level-guilt { background-color: #a52a2a; } | |
| .energy-level-apathy { background-color: #696969; } | |
| .energy-level-grief { background-color: #708090; } | |
| .energy-level-fear { background-color: #9370db; } | |
| .energy-level-desire { background-color: #ff4500; } | |
| .energy-level-anger { background-color: #ff0000; } | |
| .energy-level-pride { background-color: #ffa500; } | |
| .energy-level-courage { background-color: #9acd32; } | |
| .energy-level-neutrality { background-color: #a9a9a9; } | |
| .energy-level-willingness { background-color: #7cfc00; } | |
| .energy-level-acceptance { background-color: #20b2aa; } | |
| .energy-level-reason { background-color: #4169e1; } | |
| .energy-level-love { background-color: #ff69b4; } | |
| .energy-level-joy { background-color: #ffd700; } | |
| .energy-level-peace { background-color: #9932cc; } | |
| .energy-level-enlightenment { background-color: #ffffff; box-shadow: 0 0 20px rgba(255, 255, 255, 0.8); } | |
| </style> | |
| </head> | |
| <body class="min-h-screen flex flex-col"> | |
| <!-- Navigation --> | |
| <nav class="bg-indigo-900 text-white shadow-lg"> | |
| <div class="container mx-auto px-4 py-3 flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <div class="w-8 h-8 rounded-full bg-gradient-to-br from-yellow-200 to-yellow-500 flex items-center justify-center"> | |
| <i class="fas fa-bolt text-indigo-900"></i> | |
| </div> | |
| <span class="text-xl font-bold">SoulCharge</span> | |
| </div> | |
| <div class="hidden md:flex space-x-6"> | |
| <a href="#home" class="hover:text-yellow-200 transition">Home</a> | |
| <a href="#quiz" class="hover:text-yellow-200 transition">Energy Quiz</a> | |
| <a href="#library" class="hover:text-yellow-200 transition">Energy Library</a> | |
| <a href="#about" class="hover:text-yellow-200 transition">About</a> | |
| </div> | |
| <button class="md:hidden focus:outline-none" id="mobile-menu-button"> | |
| <i class="fas fa-bars text-2xl"></i> | |
| </button> | |
| </div> | |
| <!-- Mobile Menu --> | |
| <div class="md:hidden hidden bg-indigo-800 px-4 py-2" id="mobile-menu"> | |
| <a href="#home" class="block py-2 hover:text-yellow-200 transition">Home</a> | |
| <a href="#quiz" class="block py-2 hover:text-yellow-200 transition">Energy Quiz</a> | |
| <a href="#library" class="block py-2 hover:text-yellow-200 transition">Energy Library</a> | |
| <a href="#about" class="block py-2 hover:text-yellow-200 transition">About</a> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <section id="home" class="energy-gradient text-white py-20 md:py-32 px-4 text-center"> | |
| <div class="container mx-auto max-w-4xl"> | |
| <h1 class="text-4xl md:text-6xl font-bold mb-6 glow-text">What's Your Energy Today?</h1> | |
| <p class="text-xl md:text-2xl mb-8 opacity-90">Discover your current vibration frequency and receive personalized guidance to elevate your consciousness.</p> | |
| <a href="#quiz" class="inline-block bg-white text-indigo-900 font-bold py-3 px-8 rounded-full hover:bg-yellow-200 transition transform hover:scale-105 shadow-lg"> | |
| Take the Energy Check-In | |
| </a> | |
| </div> | |
| </section> | |
| <!-- How It Works --> | |
| <section class="py-16 bg-white"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-bold text-center text-indigo-900 mb-12">How It Works</h2> | |
| <div class="grid md:grid-cols-3 gap-8"> | |
| <div class="text-center p-6 rounded-lg bg-indigo-50"> | |
| <div class="w-16 h-16 mx-auto mb-4 rounded-full bg-indigo-100 flex items-center justify-center"> | |
| <i class="fas fa-question text-indigo-600 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-3 text-indigo-800">Answer Simple Questions</h3> | |
| <p class="text-gray-700">Our 7-question assessment helps identify your current emotional and energetic state.</p> | |
| </div> | |
| <div class="text-center p-6 rounded-lg bg-indigo-50"> | |
| <div class="w-16 h-16 mx-auto mb-4 rounded-full bg-indigo-100 flex items-center justify-center"> | |
| <i class="fas fa-chart-line text-indigo-600 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-3 text-indigo-800">Receive Your Energy Level</h3> | |
| <p class="text-gray-700">Based on Dr. Hawkins' Map of Consciousness, we'll show you where you're vibrating.</p> | |
| </div> | |
| <div class="text-center p-6 rounded-lg bg-indigo-50"> | |
| <div class="w-16 h-16 mx-auto mb-4 rounded-full bg-indigo-100 flex items-center justify-center"> | |
| <i class="fas fa-hands-helping text-indigo-600 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-3 text-indigo-800">Get Personalized Guidance</h3> | |
| <p class="text-gray-700">Receive affirmations, practices, and tips to help raise your vibration.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Energy Quiz Section --> | |
| <section id="quiz" class="py-16 bg-gray-50"> | |
| <div class="container mx-auto px-4 max-w-3xl"> | |
| <h2 class="text-3xl font-bold text-center text-indigo-900 mb-12">Energy Frequency Quiz</h2> | |
| <div id="quiz-container" class="bg-white rounded-xl shadow-lg overflow-hidden"> | |
| <!-- Quiz Intro --> | |
| <div id="quiz-intro" class="p-8"> | |
| <h3 class="text-2xl font-bold mb-4 text-indigo-800">Ready to check your energy?</h3> | |
| <p class="mb-6 text-gray-700">This simple 7-question assessment will help identify your current vibration level based on Dr. David Hawkins' Map of Consciousness.</p> | |
| <p class="mb-8 text-gray-600 italic">Answer honestly based on how you're feeling right now. There are no right or wrong answers.</p> | |
| <button id="start-quiz" class="w-full bg-indigo-600 text-white py-3 rounded-lg font-bold hover:bg-indigo-700 transition"> | |
| Begin Energy Assessment | |
| </button> | |
| </div> | |
| <!-- Quiz Questions (hidden initially) --> | |
| <div id="quiz-questions" class="hidden p-6"> | |
| <div id="progress-bar" class="h-2 bg-gray-200 rounded-full mb-6"> | |
| <div id="progress" class="h-full bg-indigo-600 rounded-full" style="width: 0%"></div> | |
| </div> | |
| <div id="question-container"> | |
| <!-- Questions will be inserted here by JavaScript --> | |
| </div> | |
| <div class="flex justify-between mt-8"> | |
| <button id="prev-btn" class="px-4 py-2 bg-gray-200 text-gray-700 rounded-lg hover:bg-gray-300 transition hidden"> | |
| <i class="fas fa-arrow-left mr-2"></i> Previous | |
| </button> | |
| <button id="next-btn" class="ml-auto px-6 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition"> | |
| Next <i class="fas fa-arrow-right ml-2"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Quiz Results (hidden initially) --> | |
| <div id="quiz-results" class="hidden p-8 text-center"> | |
| <div id="result-icon" class="w-24 h-24 mx-auto mb-6 rounded-full flex items-center justify-center text-4xl"> | |
| <!-- Icon will be inserted here --> | |
| </div> | |
| <h3 id="result-title" class="text-2xl font-bold mb-4"></h3> | |
| <div id="result-level" class="text-xl font-semibold mb-2"></div> | |
| <div id="result-score" class="text-lg mb-6"></div> | |
| <p id="result-description" class="mb-6 text-gray-700"></p> | |
| <div class="bg-gray-100 p-6 rounded-lg mb-6"> | |
| <h4 class="font-bold text-lg mb-3">Your Affirmation</h4> | |
| <p id="result-affirmation" class="text-lg italic"></p> | |
| </div> | |
| <div class="bg-gray-100 p-6 rounded-lg mb-6"> | |
| <h4 class="font-bold text-lg mb-3">Practice to Elevate</h4> | |
| <p id="result-practice" class="text-gray-700"></p> | |
| </div> | |
| <div class="flex flex-col sm:flex-row justify-center gap-4 mt-8"> | |
| <button id="retake-btn" class="px-6 py-2 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 transition"> | |
| Check Again | |
| </button> | |
| <a href="#library" class="px-6 py-2 bg-gray-200 text-gray-700 rounded-lg hover:bg-gray-300 transition"> | |
| Explore Energy Library | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Energy Library Preview --> | |
| <section id="library" class="py-16 bg-indigo-900 text-white"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-bold text-center mb-12">Energy Library</h2> | |
| <div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6"> | |
| <div class="bg-indigo-800 p-6 rounded-lg hover:bg-indigo-700 transition cursor-pointer"> | |
| <div class="w-12 h-12 mb-4 rounded-full bg-indigo-600 flex items-center justify-center"> | |
| <i class="fas fa-book-open"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Level Descriptions</h3> | |
| <p class="text-indigo-200">Detailed explanations of all 17 consciousness levels from Shame to Enlightenment.</p> | |
| </div> | |
| <div class="bg-indigo-800 p-6 rounded-lg hover:bg-indigo-700 transition cursor-pointer"> | |
| <div class="w-12 h-12 mb-4 rounded-full bg-indigo-600 flex items-center justify-center"> | |
| <i class="fas fa-spa"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Guided Practices</h3> | |
| <p class="text-indigo-200">Meditations, breathwork, and exercises tailored to each energy level.</p> | |
| </div> | |
| <div class="bg-indigo-800 p-6 rounded-lg hover:bg-indigo-700 transition cursor-pointer"> | |
| <div class="w-12 h-12 mb-4 rounded-full bg-indigo-600 flex items-center justify-center"> | |
| <i class="fas fa-music"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Sound Frequencies</h3> | |
| <p class="text-indigo-200">Music and tones to help shift your vibration to higher frequencies.</p> | |
| </div> | |
| <div class="bg-indigo-800 p-6 rounded-lg hover:bg-indigo-700 transition cursor-pointer"> | |
| <div class="w-12 h-12 mb-4 rounded-full bg-indigo-600 flex items-center justify-center"> | |
| <i class="fas fa-pen-fancy"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Journal Prompts</h3> | |
| <p class="text-indigo-200">Thought-provoking questions to help process and elevate your energy.</p> | |
| </div> | |
| </div> | |
| <div class="text-center mt-12"> | |
| <button class="px-8 py-3 bg-white text-indigo-900 font-bold rounded-lg hover:bg-yellow-200 transition"> | |
| Explore Full Energy Library | |
| </button> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- About Section --> | |
| <section id="about" class="py-16 bg-white"> | |
| <div class="container mx-auto px-4 max-w-4xl"> | |
| <h2 class="text-3xl font-bold text-center text-indigo-900 mb-12">About SoulCharge</h2> | |
| <div class="grid md:grid-cols-2 gap-8 items-center"> | |
| <div> | |
| <h3 class="text-xl font-bold mb-4 text-indigo-800">The Science of Consciousness</h3> | |
| <p class="mb-4 text-gray-700">Our energy frequency assessment is based on Dr. David Hawkins' groundbreaking Map of Consciousness, which maps human emotions and states of being to specific vibrational frequencies.</p> | |
| <p class="mb-4 text-gray-700">Dr. Hawkins' research demonstrated that higher energy states correlate with greater peace, clarity, and positive life experiences.</p> | |
| <p class="text-gray-700">By becoming aware of your current vibration, you can consciously work to elevate it through specific practices and mindset shifts.</p> | |
| </div> | |
| <div class="bg-gray-100 p-6 rounded-lg"> | |
| <h3 class="text-xl font-bold mb-4 text-indigo-800">Why Check Your Energy?</h3> | |
| <ul class="space-y-3"> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i> | |
| <span class="text-gray-700">Gain awareness of your current emotional state</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i> | |
| <span class="text-gray-700">Understand how your vibration affects your experiences</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i> | |
| <span class="text-gray-700">Receive personalized guidance to raise your frequency</span> | |
| </li> | |
| <li class="flex items-start"> | |
| <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i> | |
| <span class="text-gray-700">Track your progress over time (coming soon)</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-gray-900 text-white py-8"> | |
| <div class="container mx-auto px-4"> | |
| <div class="flex flex-col md:flex-row justify-between items-center"> | |
| <div class="mb-4 md:mb-0"> | |
| <div class="flex items-center space-x-2"> | |
| <div class="w-8 h-8 rounded-full bg-gradient-to-br from-yellow-200 to-yellow-500 flex items-center justify-center"> | |
| <i class="fas fa-bolt text-indigo-900"></i> | |
| </div> | |
| <span class="text-xl font-bold">SoulCharge</span> | |
| </div> | |
| <p class="text-gray-400 mt-2">Elevate your vibration, transform your life.</p> | |
| </div> | |
| <div class="flex space-x-6"> | |
| <a href="#" class="hover:text-yellow-200 transition"><i class="fab fa-facebook-f"></i></a> | |
| <a href="#" class="hover:text-yellow-200 transition"><i class="fab fa-twitter"></i></a> | |
| <a href="#" class="hover:text-yellow-200 transition"><i class="fab fa-instagram"></i></a> | |
| <a href="#" class="hover:text-yellow-200 transition"><i class="fab fa-pinterest"></i></a> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400 text-sm"> | |
| <p>© 2023 SoulCharge Energy Meter. All rights reserved.</p> | |
| <div class="mt-2 space-x-4"> | |
| <a href="#" class="hover:text-white transition">Privacy Policy</a> | |
| <a href="#" class="hover:text-white transition">Terms of Service</a> | |
| <a href="#" class="hover:text-white transition">Contact Us</a> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Mobile menu toggle | |
| document.getElementById('mobile-menu-button').addEventListener('click', function() { | |
| const menu = document.getElementById('mobile-menu'); | |
| menu.classList.toggle('hidden'); | |
| }); | |
| // Quiz functionality | |
| const quizData = [ | |
| { | |
| question: "Right now, do you feel safe, threatened, or uncertain?", | |
| options: [ | |
| { text: "Threatened (on guard)", value: 100 }, | |
| { text: "Uncertain (unsure)", value: 125 }, | |
| { text: "Mostly safe", value: 250 }, | |
| { text: "Completely safe and at peace", value: 600 } | |
| ] | |
| }, | |
| { | |
| question: "Do you hold any regret, guilt, or shame about something today?", | |
| options: [ | |
| { text: "Yes, strong shame or guilt", value: 20 }, | |
| { text: "Some regret", value: 75 }, | |
| { text: "A little guilt but moving on", value: 200 }, | |
| { text: "No, I've processed and released these", value: 350 } | |
| ] | |
| }, | |
| { | |
| question: "Is your mind full of blame, hope, love, or acceptance?", | |
| options: [ | |
| { text: "Blame (of self or others)", value: 150 }, | |
| { text: "Hope (looking forward)", value: 310 }, | |
| { text: "Love (compassion and care)", value: 500 }, | |
| { text: "Acceptance (peace with what is)", value: 540 } | |
| ] | |
| }, | |
| { | |
| question: "What emotions have been strongest for you this week?", | |
| options: [ | |
| { text: "Fear, anxiety, or worry", value: 100 }, | |
| { text: "Anger or frustration", value: 150 }, | |
| { text: "Courage or determination", value: 200 }, | |
| { text: "Love, joy, or peace", value: 500 } | |
| ] | |
| }, | |
| { | |
| question: "How do you respond to challenge: with fear, courage, or neutrality?", | |
| options: [ | |
| { text: "Fear (avoidance or panic)", value: 100 }, | |
| { text: "Courage (facing it head on)", value: 200 }, | |
| { text: "Neutrality (it is what it is)", value: 250 }, | |
| { text: "Seeing opportunity in challenge", value: 350 } | |
| ] | |
| }, | |
| { | |
| question: "Do you feel life is against you or working with you?", | |
| options: [ | |
| { text: "Against me (or indifferent)", value: 100 }, | |
| { text: "Sometimes for, sometimes against", value: 175 }, | |
| { text: "Generally working with me", value: 300 }, | |
| { text: "Always supporting my growth", value: 500 } | |
| ] | |
| }, | |
| { | |
| question: "What word resonates most right now: Control, Flow, Forgiveness, Joy?", | |
| options: [ | |
| { text: "Control (needing it)", value: 150 }, | |
| { text: "Flow (going with it)", value: 250 }, | |
| { text: "Forgiveness (releasing)", value: 350 }, | |
| { text: "Joy (appreciation)", value: 540 } | |
| ] | |
| } | |
| ]; | |
| const energyLevels = [ | |
| { min: 1, max: 20, name: "Shame", color: "energy-level-shame", | |
| description: "At this level, you may feel worthless, humiliated, or full of self-loathing. The worldview is bleak and hopeless.", | |
| affirmation: "I am worthy of love and respect exactly as I am.", | |
| practice: "Practice self-compassion. Write a letter to yourself with kindness, as you would to a dear friend." }, | |
| { min: 30, max: 50, name: "Guilt", color: "energy-level-guilt", | |
| description: "You may be dwelling on past mistakes, feeling remorse, or punishing yourself. There's a sense of 'I should have...'", | |
| affirmation: "I release the past with love and learn from my experiences.", | |
| practice: "Make amends where possible, then practice forgiveness - both of yourself and others." }, | |
| { min: 75, max: 100, name: "Apathy", color: "energy-level-apathy", | |
| description: "You may feel hopeless, helpless, or indifferent. Energy is low and there's little motivation to change.", | |
| affirmation: "Small steps forward are still progress. I choose to engage with life.", | |
| practice: "Start with tiny actions - a short walk, making your bed. Celebrate small wins to build momentum." }, | |
| { min: 125, max: 150, name: "Grief", color: "energy-level-grief", | |
| description: "You may be experiencing sadness, loss, or regret. While painful, this is a step up from apathy as you're actually feeling.", | |
| affirmation: "It's okay to feel. My emotions are valid and will pass in time.", | |
| practice: "Allow yourself to feel fully. Journal about your feelings or create art to express them." }, | |
| { min: 175, max: 200, name: "Fear", color: "energy-level-fear", | |
| description: "You may feel anxious, worried about the future, or see threats everywhere. There's a sense of needing to be on guard.", | |
| affirmation: "I am safe in this moment. I have the strength to handle what comes.", | |
| practice: "Ground yourself in the present with deep breathing. List things you're grateful for to shift perspective." }, | |
| { min: 250, max: 300, name: "Desire", color: "energy-level-desire", | |
| description: "You're motivated by wants - for money, approval, success. This drives action but can lead to addiction or frustration.", | |
| affirmation: "I am enough as I am. My worth isn't tied to external things.", | |
| practice: "Practice contentment. Notice when you're chasing versus when you're truly present." }, | |
| { min: 350, max: 400, name: "Anger", color: "energy-level-anger", | |
| description: "You may feel frustrated, resentful, or rebellious. While uncomfortable, anger can fuel needed change.", | |
| affirmation: "I channel my energy constructively. My power is in my response.", | |
| practice: "Use physical activity to release energy. Then explore what needs your anger is signaling." }, | |
| { min: 425, max: 475, name: "Pride", color: "energy-level-pride", | |
| description: "You feel confident in your achievements or status, but this can be defensive and look down on others.", | |
| affirmation: "I celebrate my growth while staying humble and connected.", | |
| practice: "Practice gratitude for those who helped you. Find ways to lift others up." }, | |
| { min: 500, max: 550, name: "Courage", color: "energy-level-courage", | |
| description: "You're willing to face challenges and grow. This is where true empowerment begins.", | |
| affirmation: "I have what it takes to handle life's challenges.", | |
| practice: "Identify one fear to face this week. Take action despite discomfort." }, | |
| { min: 600, max: 650, name: "Neutrality", color: "energy-level-neutrality", | |
| description: "You feel okay with how things are. There's less need to control or prove yourself.", | |
| affirmation: "I trust the process of life. Things are working out as they should.", | |
| practice: "Notice when you're trying to force outcomes. Practice allowing and observing." }, | |
| { min: 700, max: 750, name: "Willingness", color: "energy-level-willingness", | |
| description: "You're open to learning and growing. There's optimism and cooperation with life.", | |
| affirmation: "I welcome new experiences and opportunities to expand.", | |
| practice: "Say yes to something outside your comfort zone this week." }, | |
| { min: 800, max: 850, name: "Acceptance", color: "energy-level-acceptance", | |
| description: "You understand that life is as it is. There's emotional balance and clarity.", | |
| affirmation: "I accept what I cannot change and take responsibility for what I can.", | |
| practice: "Practice non-judgment. Observe your experiences without labeling them good/bad." }, | |
| { min: 900, max: 950, name: "Reason", color: "energy-level-reason", | |
| description: "You think clearly and objectively. There's ability to solve problems and understand complex ideas.", | |
| affirmation: "I trust my ability to discern truth and make wise choices.", | |
| practice: "Engage in learning something new. Share your knowledge with others." }, | |
| { min: 1000, max: 1100, name: "Love", color: "energy-level-love", | |
| description: "You feel unconditional love and compassion. There's recognition of the sacred in all life.", | |
| affirmation: "I am love. I give and receive love freely.", | |
| practice: "Perform small acts of kindness without expectation. Send loving thoughts to those you find difficult." }, | |
| { min: 1200, max: 1300, name: "Joy", color: "energy-level-joy", | |
| description: "You feel inner happiness not tied to circumstances. There's appreciation for life's beauty.", | |
| affirmation: "My heart is open to life's wonder and delight.", | |
| practice: "Create moments of play and laughter. Notice and savor small pleasures." }, | |
| { min: 1400, max: 1500, name: "Peace", color: "energy-level-peace", | |
| description: "You experience deep serenity and oneness. There's complete acceptance of what is.", | |
| affirmation: "I am at peace with all that was, is, and will be.", | |
| practice: "Spend time in nature. Meditate on the interconnectedness of all things." }, | |
| { min: 1600, max: 2000, name: "Enlightenment", color: "energy-level-enlightenment", | |
| description: "You experience the highest state of consciousness - complete transcendence of the ego.", | |
| affirmation: "I am that I am. All is one.", | |
| practice: "Simply be. Teach through your presence and being." } | |
| ]; | |
| // Quiz state | |
| let currentQuestion = 0; | |
| let answers = []; | |
| let totalScore = 0; | |
| // DOM elements | |
| const quizIntro = document.getElementById('quiz-intro'); | |
| const quizQuestions = document.getElementById('quiz-questions'); | |
| const quizResults = document.getElementById('quiz-results'); | |
| const questionContainer = document.getElementById('question-container'); | |
| const progressBar = document.getElementById('progress'); | |
| const prevBtn = document.getElementById('prev-btn'); | |
| const nextBtn = document.getElementById('next-btn'); | |
| const startBtn = document.getElementById('start-quiz'); | |
| const retakeBtn = document.getElementById('retake-btn'); | |
| // Start quiz | |
| startBtn.addEventListener('click', () => { | |
| quizIntro.classList.add('hidden'); | |
| quizQuestions.classList.remove('hidden'); | |
| showQuestion(); | |
| }); | |
| // Show current question | |
| function showQuestion() { | |
| const question = quizData[currentQuestion]; | |
| progressBar.style.width = `${((currentQuestion + 1) / quizData.length) * 100}%`; | |
| let optionsHtml = ''; | |
| question.options.forEach((option, index) => { | |
| optionsHtml += ` | |
| <div class="mb-3"> | |
| <input type="radio" name="answer" id="option-${index}" value="${option.value}" class="hidden peer"> | |
| <label for="option-${index}" class="block p-4 border border-gray-200 rounded-lg cursor-pointer hover:bg-indigo-50 peer-checked:bg-indigo-100 peer-checked:border-indigo-300 transition"> | |
| ${option.text} | |
| </label> | |
| </div> | |
| `; | |
| }); | |
| questionContainer.innerHTML = ` | |
| <h3 class="text-xl font-bold mb-6 text-indigo-800">${question.question}</h3> | |
| <div class="space-y-3"> | |
| ${optionsHtml} | |
| </div> | |
| `; | |
| // Show/hide previous button | |
| prevBtn.classList.toggle('hidden', currentQuestion === 0); | |
| // Change next button text if last question | |
| if (currentQuestion === quizData.length - 1) { | |
| nextBtn.innerHTML = 'See Results <i class="fas fa-star ml-2"></i>'; | |
| } else { | |
| nextBtn.innerHTML = 'Next <i class="fas fa-arrow-right ml-2"></i>'; | |
| } | |
| } | |
| // Next question | |
| nextBtn.addEventListener('click', () => { | |
| const selectedOption = document.querySelector('input[name="answer"]:checked'); | |
| if (!selectedOption) { | |
| alert('Please select an answer'); | |
| return; | |
| } | |
| // Save answer | |
| answers[currentQuestion] = parseInt(selectedOption.value); | |
| // If last question, show results | |
| if (currentQuestion === quizData.length - 1) { | |
| calculateResults(); | |
| return; | |
| } | |
| // Go to next question | |
| currentQuestion++; | |
| showQuestion(); | |
| }); | |
| // Previous question | |
| prevBtn.addEventListener('click', () => { | |
| currentQuestion--; | |
| showQuestion(); | |
| }); | |
| // Calculate results | |
| function calculateResults() { | |
| // Calculate average score | |
| totalScore = Math.round(answers.reduce((sum, value) => sum + value, 0) / answers.length); | |
| // Find energy level | |
| const resultLevel = energyLevels.find(level => totalScore >= level.min && totalScore <= level.max); | |
| // Display results | |
| document.getElementById('result-title').textContent = `Your Energy Frequency: ${resultLevel.name}`; | |
| document.getElementById('result-level').textContent = `Level ${resultLevel.min}-${resultLevel.max}`; | |
| document.getElementById('result-score').textContent = `Your Score: ${totalScore}`; | |
| document.getElementById('result-description').textContent = resultLevel.description; | |
| document.getElementById('result-affirmation').textContent = resultLevel.affirmation; | |
| document.getElementById('result-practice').textContent = resultLevel.practice; | |
| // Set icon color | |
| const resultIcon = document.getElementById('result-icon'); | |
| resultIcon.className = `w-24 h-24 mx-auto mb-6 rounded-full flex items-center justify-center text-4xl ${resultLevel.color} text-white`; | |
| resultIcon.innerHTML = '<i class="fas fa-bolt"></i>'; | |
| // Show results | |
| quizQuestions.classList.add('hidden'); | |
| quizResults.classList.remove('hidden'); | |
| // Scroll to results | |
| setTimeout(() => { | |
| quizResults.scrollIntoView({ behavior: 'smooth' }); | |
| }, 100); | |
| } | |
| // Retake quiz | |
| retakeBtn.addEventListener('click', () => { | |
| currentQuestion = 0; | |
| answers = []; | |
| totalScore = 0; | |
| quizResults.classList.add('hidden'); | |
| quizQuestions.classList.remove('hidden'); | |
| showQuestion(); | |
| // Scroll to quiz | |
| setTimeout(() => { | |
| quizQuestions.scrollIntoView({ behavior: 'smooth' }); | |
| }, 100); | |
| }); | |
| // Smooth scrolling for anchor links | |
| document.querySelectorAll('a[href^="#"]').forEach(anchor => { | |
| anchor.addEventListener('click', function (e) { | |
| e.preventDefault(); | |
| const targetId = this.getAttribute('href'); | |
| if (targetId === '#') return; | |
| const targetElement = document.querySelector(targetId); | |
| if (targetElement) { | |
| targetElement.scrollIntoView({ | |
| behavior: 'smooth' | |
| }); | |
| // Close mobile menu if open | |
| const mobileMenu = document.getElementById('mobile-menu'); | |
| if (!mobileMenu.classList.contains('hidden')) { | |
| mobileMenu.classList.add('hidden'); | |
| } | |
| } | |
| }); | |
| }); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=CodellaDeville/energymeter" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |