Positivity Spectrum Quiz

tailwind.config = {
theme: {
extend: {
colors: {
brand: {
yellow: ‘#FDB813’,
orange: ‘#F58025’,
blue: ‘#005F7F’,
light: ‘#FFF9E6’,
dark: ‘#333333’
}
},
fontFamily: {
sans: [‘Montserrat’, ‘sans-serif’],
serif: [‘Merriweather’, ‘serif’],
}
}
}
}

/* — CRITICAL CSS RESET & OVERRIDES — */

#positivity-quiz-container {
font-family: ‘Montserrat’, sans-serif !important;
font-size: 18px !important;
line-height: 1.6 !important;
box-sizing: border-box !important;
}

#positivity-quiz-container * {
box-sizing: border-box !important;
}

/* Typography Overrides */
#positivity-quiz-container h1 {
font-family: ‘Merriweather’, serif !important;
font-size: 34px !important;
line-height: 1.2 !important;
margin-bottom: 1.5rem !important;
}

#positivity-quiz-container h2 {
font-family: ‘Merriweather’, serif !important;
font-size: 28px !important;
line-height: 1.3 !important;
margin-bottom: 1rem !important;
}

#positivity-quiz-container h3 {
font-family: ‘Montserrat’, sans-serif !important;
font-size: 22px !important;
font-weight: 700 !important;
}

#positivity-quiz-container p,
#positivity-quiz-container li,
#positivity-quiz-container span,
#positivity-quiz-container div {
font-size: 18px !important;
}

/* Helper Classes Overrides */
#positivity-quiz-container .text-xs { font-size: 14px !important; }
#positivity-quiz-container .text-sm { font-size: 16px !important; }
#positivity-quiz-container .text-lg { font-size: 20px !important; }
#positivity-quiz-container .text-xl { font-size: 24px !important; }
#positivity-quiz-container .text-2xl { font-size: 28px !important; }
#positivity-quiz-container .text-3xl { font-size: 36px !important; }
#positivity-quiz-container .text-4xl { font-size: 42px !important; }

/* Animations */
.fade-in { animation: fadeIn 0.5s ease-out forwards; }
.slide-up { animation: slideUp 0.6s ease-out forwards; }

@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}

/* Interactive Elements */
.quiz-option {
transition: all 0.2s ease;
cursor: pointer;
}
.quiz-option:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
border-color: #F58025;
}
#progress-fill {
transition: width 0.4s ease-in-out;
}

The Positivity Spectrum Quiz

We all get stuck sometimes, but how we get stuck matters.
Are you held back by hidden fears (The Comfort Zone) or by habitual negativity (The Positivity Block)?

Take this 60-second diagnostic to find out exactly what is blocking your happiness right now—and get a personalized prescription to fix it.

Join 200,000+ others who have transformed their mindset.

// === 1. DATA CONFIGURATION ===
// TYPE A = Comfort Zone Issue (Stuck/Fear)
// TYPE B = Positivity Issue (Negativity/Mood)

const questions = [
{
category: “Reaction to Change”,
text: “Your boss or partner changes plans at the very last minute. What is your honest internal reaction?”,
options: [
{ text: “Panic. I feel unsafe when I don’t know what’s happening.”, type: ‘A’ }, // Fear
{ text: “Annoyance. Why does everything always go wrong for me?”, type: ‘B’ }, // Negativity
{ text: “Dread. I just wanted things to stay the way they were.”, type: ‘A’ }, // Fear
{ text: “Exhaustion. Dealing with this is just too much effort.”, type: ‘B’ } // Negativity
] },
{
category: “Morning Mindset”,
text: “When you first wake up in the morning, what is the dominant feeling?”,
options: [
{ text: “Anxiety about the tasks I have to do.”, type: ‘A’ }, // Fear
{ text: “Irritation that I have to get out of bed.”, type: ‘B’ }, // Negativity
{ text: “Heavy feeling in my chest, like I’m stuck.”, type: ‘A’ }, // Fear
{ text: “Foggy and unmotivated, like ‘what’s the point?'”, type: ‘B’ } // Negativity
] },
{
category: “Taking Risks”,
text: “A new opportunity comes up that would require you to learn a completely new skill. You:”,
options: [
{ text: “Decline. I’m afraid I’ll look foolish or fail.”, type: ‘A’ },
{ text: “Decline. It probably won’t work out anyway, so why bother?”, type: ‘B’ },
{ text: “Hesitate. I need to feel 100% ready before I start.”, type: ‘A’ },
{ text: “Complain. Why does everything have to be so hard?”, type: ‘B’ }
] },
{
category: “Handling Failure”,
text: “You make a mistake on a project. What does your inner voice say?”,
options: [
{ text: “‘I hope no one noticed. I need to hide this.'”, type: ‘A’ },
{ text: “‘I am such an idiot. I always mess things up.'”, type: ‘B’ },
{ text: “‘This proves I shouldn’t have tried in the first place.'”, type: ‘A’ },
{ text: “‘Great, just another thing to add to my bad day.'”, type: ‘B’ }
] },
{
category: “Social Energy”,
text: “You are invited to a social gathering with people you don’t know well. You:”,
options: [
{ text: “Don’t go. Staying home is safer and more comfortable.”, type: ‘A’ },
{ text: “Go, but spend the time criticizing the venue or the people in your head.”, type: ‘B’ },
{ text: “Feel nervous and stay in the corner hoping no one talks to you.”, type: ‘A’ },
{ text: “Go, but feel drained by everyone’s ‘fake’ happiness.”, type: ‘B’ }
] },
{
category: “Goals & Dreams”,
text: “Think about your biggest dream. Why haven’t you achieved it yet?”,
options: [
{ text: “I’m waiting for the ‘perfect time’ to start.”, type: ‘A’ },
{ text: “The system is rigged against me.”, type: ‘B’ },
{ text: “I’m afraid of what people will say if I change.”, type: ‘A’ },
{ text: “I just don’t have the energy or luck that other people have.”, type: ‘B’ }
] },
{
category: “Feedback”,
text: “Someone gives you constructive criticism. You:”,
options: [
{ text: “Shut down. I feel like I’m under attack.”, type: ‘A’ },
{ text: “Get defensive. Who are they to judge me?”, type: ‘B’ },
{ text: “Apologize profusely just to make the conversation end.”, type: ‘A’ },
{ text: “Ruminate on it for days, feeling bitter.”, type: ‘B’ }
] },
{
category: “Routine”,
text: “How do you feel about your daily routine?”,
options: [
{ text: “It’s boring, but at least I know what to expect.”, type: ‘A’ },
{ text: “It’s a grind. Life feels like a treadmill.”, type: ‘B’ },
{ text: “I cling to it. Disruption ruins my whole day.”, type: ‘A’ },
{ text: “I resent it. I wish I could just escape.”, type: ‘B’ }
] },
{
category: “The Future”,
text: “When you look 1 year into the future, what do you see?”,
options: [
{ text: “Ideally nothing changes. Change is scary.”, type: ‘A’ },
{ text: “Probably the same struggles, different day.”, type: ‘B’ },
{ text: “I worry that I’ll lose what I currently have.”, type: ‘A’ },
{ text: “I doubt things will get better for me.”, type: ‘B’ }
] },
{
category: “Dominant Blocker”,
text: “If you could wave a magic wand and remove one feeling, which would it be?”,
options: [
{ text: “Fear. I want to be brave enough to live my life.”, type: ‘A’ },
{ text: “Negativity. I want to stop seeing the bad in everything.”, type: ‘B’ },
{ text: “Hesitation. I want to stop overthinking and start doing.”, type: ‘A’ },
{ text: “Heaviness. I want to feel light and joyful again.”, type: ‘B’ }
] }
];

// === 2. STATE MANAGEMENT ===
let currentQuestionIndex = 0;
let scores = { A: 0, B: 0 }; // A = Comfort Zone, B = Positivity

// === 3. DOM ELEMENTS ===
const introScreen = document.getElementById(‘intro-screen’);
const quizScreen = document.getElementById(‘quiz-screen’);
const loadingScreen = document.getElementById(‘loading-screen’);
const resultScreen = document.getElementById(‘result-screen’);

const questionText = document.getElementById(‘question-text’);
const questionCategory = document.getElementById(‘question-category’);
const optionsContainer = document.getElementById(‘options-container’);
const progressText = document.getElementById(‘progress-text’);
const progressFill = document.getElementById(‘progress-fill’);

// === 4. FUNCTIONS ===

function startQuiz() {
introScreen.classList.add(‘hidden’);
quizScreen.classList.remove(‘hidden’);
quizScreen.classList.add(‘fade-in’);
renderQuestion();
}

function renderQuestion() {
const question = questions[currentQuestionIndex];

// Update Text
questionCategory.textContent = question.category;
questionText.textContent = question.text;

// Update Progress
const percent = Math.round((currentQuestionIndex / questions.length) * 100);
progressText.textContent = `${percent}%`;
progressFill.style.width = `${percent}%`;

// Clear and Render Options
optionsContainer.innerHTML = ”;

// Simple Shuffle function to mix A and B answers visually
// We clone the options array so we don’t mess up the original order for next time
const shuffledOptions = […question.options].sort(() => Math.random() – 0.5);

shuffledOptions.forEach((option, index) => {
const btn = document.createElement(‘div’);
btn.className = ‘quiz-option w-full p-6 border-2 border-gray-100 rounded-xl flex items-center gap-5 bg-gray-50 hover:bg-white text-left group’;
btn.onclick = () => selectOption(option.type);

btn.innerHTML = `

${String.fromCharCode(65 + index)}

${option.text}
`;
optionsContainer.appendChild(btn);
});
}

function selectOption(type) {
// Save score
scores[type]++;

// Next Question or Finish
currentQuestionIndex++;

if (currentQuestionIndex {
loadingScreen.classList.add(‘hidden’);
calculateAndShowResult();
}, 1500);
}

function calculateAndShowResult() {
resultScreen.classList.remove(‘hidden’);

// LOGIC: Whichever score is higher determines the book.
// If tie, default to Comfort Zone (Type A).

const isComfortZone = scores.A >= scores.B;

if (isComfortZone) {
// RESULT: THE COMFORT ZONE
document.getElementById(‘result-diagnosis-title’).textContent = “The ‘Safety Trap'”;
document.getElementById(‘result-description’).innerHTML = `
Your results indicate that you are stuck in The Comfort Zone.

You aren’t necessarily negative; you are safe. But that safety has become a cage. You often hesitate to take risks, overthink future scenarios, and stick to routines even when they no longer serve you. Your happiness isn’t blocked by a bad attitude—it’s blocked by fear of the unknown.
`;
document.getElementById(‘result-solution’).textContent = “You need to learn how to step into the ‘Growth Zone’ without triggering your fight-or-flight response. This book is your roadmap.”;

document.getElementById(‘result-book-image’).src = “https://cdn.powerofpositivity.com/wp-content/uploads/2023/02/hp-sec10-mob-book.png”;
document.getElementById(‘result-link’).href = “https://www.amazon.com/The-Comfort-Zone/dp/1788179102”;

} else {
// RESULT: INSTANT POSITIVITY
document.getElementById(‘result-diagnosis-title’).textContent = “The ‘Negativity Loop'”;
document.getElementById(‘result-description’).innerHTML = `
Your results indicate that you are caught in a Negativity Loop.

You often feel drained, irritable, or overwhelmed by the world around you. It’s not that you want to be negative, but your brain has formed a habit of spotting problems before solutions. Your happiness is blocked by habitual thought patterns that steal your energy.
`;
document.getElementById(‘result-solution’).textContent = “You need quick, actionable tools to snap out of these moods instantly. This book provides the exact shifts you need.”;

document.getElementById(‘result-book-image’).src = “https://cdn.powerofpositivity.com/wp-content/uploads/2023/02/Book-Ad-instant-positivity.zip-1.jpg”;
document.getElementById(‘result-link’).href = “https://www.amazon.com/INSTANT-POSITIVITY-Become-Better-Every/dp/1737970481”;
}
}

The post Positivity Spectrum Quiz appeared first on Power of Positivity: Positive Thinking & Attitude.

No Comments Yet

Leave a Reply

Your email address will not be published.

 

The Abundance Pub (TAP) is a media source dedicated to all things positive in the world. Focusing on Health, Wealth and Happiness. The Abundance Pub serves as repository of positive news articles, blogs, Podcasts, Masterclasses and tips to help people live their best life!

FOLLOW US ON

Message From Founder