Which Love & Happiness Icon Are You?
https://cdn.tailwindcss.com
body {
background: linear-gradient(#ffff);
min-height: 100vh;
font-family: ‘Arial’, sans-serif;
}
.quiz-container {
max-width: 700px;
margin: 2rem auto;
background: white;
border-radius: 1rem;
padding: 2rem;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.option {
transition: background 0.3s, transform 0.2s;
}
.option:hover {
background: #f9a8d4;
color: white;
transform: scale(1.02);
}
#result {
display: none;
animation: fadeIn 0.5s ease-in;
}
.progress-bar {
height: 8px;
background: #e5e7eb;
border-radius: 4px;
overflow: hidden;
}
.progress {
height: 100%;
background: #f472b6;
transition: width 0.3s ease;
}
.share-button {
transition: background 0.3s;
}
.share-button:hover {
filter: brightness(1.1);
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
Which Love & Happiness Icon Are You?
1. What’s your approach to making others happy?
Pour your heart into grand, romantic gestures.
Share simple, wholesome moments like a hug or a snack.
Serve others selflessly, no matter the cost.
Create art or ideas that uplift everyone.
2. How do you handle a broken heart?
Write poetry or dream of your next great love.
Find comfort in familiar routines and friends.
Focus on helping others to heal yourself.
Channel your emotions into something creative.
3. What’s your happy place?
A romantic setting, like a candlelit balcony.
A sunny field with friends and no worries.
A community where you can make a difference.
A studio filled with colors and inspiration.
4. What’s your ideal way to spend a day with someone you love?
A romantic dinner under the stars.
A picnic with simple joys like laughter and games.
Volunteering together for a cause.
Creating something artistic together.
5. What inspires you most?
Stories of epic, passionate love.
Everyday moments of kindness and joy.
Acts of selfless compassion.
Bold, creative expressions of the soul.
6. How do you show gratitude?
Write a heartfelt letter or poem.
Share a small, thoughtful gift like food.
Dedicate time to help someone in need.
Create something unique to honor them.
7. What’s your dream adventure?
A romantic getaway to a dreamy city.
A carefree day exploring nature with friends.
A mission to help a community in need.
A journey to discover new art and cultures.
8. What’s the key to a happy life?
Finding your one true love.
Enjoying life’s little pleasures.
Giving back to others.
Expressing your true self.
Submit
Your Result
Take Quiz Again
const results = {
romeo: {
name: “Romeo”,
description: “Passionate and devoted, you live for love’s intensity. Like Romeo from Shakespeare’s classic tale, you believe in grand gestures and heartfelt connections. Channel this with romantic surprises or writing love letters to those you cherish.”,
image: “
https://m.media-amazon.com/images/M/MV5BMGRlY2UzOWYtMDk4Ni00ODQzLThjMDgtNTU0ZmQzMTM3NjcxXkEyXkFqcGc@._V1_.jpg”,
shareText: “I’m Romeo, a passionate romantic! 💕 Find your Love & Happiness Icon!”
},
pooh: {
name: “Winnie the Pooh”,
description: “You find joy in life’s simple pleasures, just like Winnie the Pooh. Your warmth and love for small, wholesome moments—like sharing a snack or a laugh—spread happiness effortlessly. Keep spreading kindness with your easygoing charm.”,
image: “
https://lumiere-a.akamaihd.net/v1/images/open-uri20160811-32147-cd72yq_7d7c172f.jpeg”,
shareText: “I’m Winnie the Pooh, loving life’s simple joys! 🍯 Find your Love & Happiness Icon!”
},
teresa: {
name: “Mother Teresa”,
description: “Your compassion transforms lives, much like Mother Teresa’s selfless care. You find happiness in serving others and making a difference, no matter how small. Volunteer or support a cause to amplify your impact.”,
image: “
https://cdn.britannica.com/42/155442-050-AB85E00E/Mother-Teresa.jpg”,
shareText: “I’m Mother Teresa, spreading compassion! ❤️ Find your Love & Happiness Icon!”
},
kahlo: {
name: “Frida Kahlo”,
description: “Your creative spirit inspires others, just like Frida Kahlo’s vibrant art. You express love and happiness through bold, unique creations, turning emotions into beauty. Dive into painting, writing, or storytelling to share your vision.”,
image: “
https://sonyawinner.com/wp-content/uploads/2025/01/Frida-Kahlo-Self-Portrait-.jpg”,
shareText: “I’m Frida Kahlo, a creative soul! 🎨 Find your Love & Happiness Icon!”
}
};
const totalQuestions = 8;
let answeredQuestions = 0;
function updateProgress() {
answeredQuestions++;
const progressPercent = (answeredQuestions / totalQuestions) * 100;
document.getElementById(‘progress’).style.width = `${progressPercent}%`;
}
document.querySelectorAll(‘input[type=”radio”]’).forEach(input => {
input.addEventListener(‘change’, () => {
const questionDiv = input.closest(‘.question’);
questionDiv.style.display = ‘none’;
const nextQuestion = questionDiv.nextElementSibling;
if (nextQuestion && nextQuestion.classList.contains(‘question’)) {
nextQuestion.style.display = ‘block’;
window.scrollTo({ top: 0, behavior: ‘smooth’ });
}
updateProgress();
});
});
document.getElementById(‘submit’).addEventListener(‘click’, () => {
const scores = { romeo: 0, pooh: 0, teresa: 0, kahlo: 0 };
let allAnswered = true;
for (let i = 1; i scores[key] === maxScore) || ‘romeo’;
const result = results[resultKey];
document.getElementById(‘quiz’).style.display = ‘none’;
document.getElementById(‘result’).style.display = ‘block’;
document.getElementById(‘icon’).textContent = `You are ${result.name}!`;
document.getElementById(‘description’).textContent = result.description;
document.getElementById(‘icon-image’).src = result.image;
const quizUrl = window.location.href;
document.getElementById(‘twitter-share’).href = `https://twitter.com/intent/tweet?text=${encodeURIComponent(result.shareText)}&url=${encodeURIComponent(quizUrl)}`;
document.getElementById(‘facebook-share’).href = `https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(quizUrl)}"e=${encodeURIComponent(result.shareText)}`;
window.scrollTo({ top: 0, behavior: ‘smooth’ });
});
document.getElementById(‘restart’).addEventListener(‘click’, () => {
document.getElementById(‘quiz’).style.display = ‘block’;
document.getElementById(‘result’).style.display = ‘none’;
document.querySelectorAll(‘.question’).forEach(q => q.style.display = ‘none’);
document.querySelector(‘.question:first-child’).style.display = ‘block’;
document.querySelectorAll(‘input[type=”radio”]’).forEach(input => input.checked = false);
answeredQuestions = 0;
document.getElementById(‘progress’).style.width = ‘12.5%’;
window.scrollTo({ top: 0, behavior: ‘smooth’ });
});
document.querySelector(‘.question:first-child’).style.display = ‘block’;
document.querySelectorAll(‘.question:not(:first-child)’).forEach(q => q.style.display = ‘none’);