Which Mythical Creature Are You?
.mythical-quiz-container {
font-family: ‘Georgia’, serif;
background: linear-gradient(to bottom, #87ceeb, #e6e6fa);
color: #1a1a40;
overflow-x: hidden;
padding: 20px;
}
.mythquiz-container {
display: flex;
max-width: 1050px;
margin: 0 auto;
min-height: 80vh;
gap: 20px;
}
.mythquiz-sidebar {
width: 250px;
background: rgba(255, 255, 255, 0.9);
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.mythquiz-sidebar h2 {
color: #ffd700;
text-align: center;
margin-bottom: 20px;
}
.mythquiz-progress-bar {
background: #e0e0e0;
height: 20px;
border-radius: 10px;
overflow: hidden;
}
.mythquiz-progress {
background: #ffd700;
height: 100%;
width: 0;
transition: width 0.3s ease;
}
.mythquiz-main-content {
width: 800px;
background: rgba(255, 255, 255, 0.95);
padding: 30px;
border-radius: 10px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
min-height: 600px;
position: relative;
}
.mythquiz-main-content h1 {
text-align: center;
color: #ffd700;
text-shadow: 0 0 5px #ffd700;
margin-bottom: 20px;
}
.mythquiz-question {
position: absolute;
top: 80px;
left: 30px;
right: 30px;
opacity: 0;
visibility: hidden;
transition: opacity 0.5s ease, visibility 0.5s ease;
}
.mythquiz-question.active {
opacity: 1;
visibility: visible;
}
.mythquiz-question h3 {
color: #1a1a40;
margin-bottom: 10px;
}
.mythquiz-options {
display: flex;
flex-direction: column;
gap: 10px;
}
.mythquiz-option {
padding: 15px;
background: #f9f9f9;
border: 2px solid #ffd700;
border-radius: 8px;
cursor: pointer;
transition: background 0.3s, transform 0.2s;
}
.mythquiz-option:hover {
background: #fffacd;
transform: scale(1.02);
}
.mythquiz-option.selected {
background: #ffd700;
color: #1a1a40;
}
.mythquiz-next-button {
display: block;
margin: 20px auto 0;
padding: 12px 30px;
background: #ffd700;
color: #1a1a40;
border: none;
border-radius: 8px;
cursor: pointer;
font-weight: bold;
box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
transition: box-shadow 0.3s, background 0.3s;
pointer-events: auto;
}
.mythquiz-next-button:hover {
background: #ffeb3b;
box-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}
#mythquiz-countdown {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: none;
text-align: center;
font-size: 1.8em;
color: #ffd700;
text-shadow: 0 0 5px #ffd700;
}
#mythquiz-result {
position: absolute;
top: 80px;
left: 30px;
right: 30px;
display: none;
text-align: center;
padding: 20px;
background: rgba(255, 255, 255, 0.9);
border-radius: 10px;
box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
min-height: 500px;
opacity: 0;
visibility: hidden;
transition: opacity 0.5s ease, visibility 0.5s ease;
}
#mythquiz-result.active {
opacity: 1;
visibility: visible;
}
#mythquiz-result h2 {
color: #ffd700;
margin-bottom: 15px;
}
#mythquiz-description {
margin: 15px 0;
line-height: 1.6;
}
.mythquiz-creature-image {
max-width: 250px;
height: auto;
margin: 15px auto;
display: block;
border-radius: 10px;
border: 3px solid #ffd700;
box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}
.mythquiz-share-buttons {
display: flex;
justify-content: center;
gap: 15px;
margin-top: 20px;
}
.mythquiz-share-buttons a {
padding: 10px 20px;
color: #fff;
text-decoration: none;
border-radius: 8px;
transition: opacity 0.3s;
}
.mythquiz-share-buttons .twitter {
background: #1DA1F2;
}
.mythquiz-share-buttons .facebook {
background: #3b5998;
}
.mythquiz-share-buttons .pinterest {
background: #BD081C;
}
.mythquiz-share-buttons a:hover {
opacity: 0.8;
}
#mythquiz-reset {
background: #4b0082;
color: #e6e6fa;
box-shadow: 0 0 10px rgba(75, 0, 130, 0.5);
}
#mythquiz-reset:hover {
background: #6a0dad;
box-shadow: 0 0 15px rgba(75, 0, 130, 0.8);
}
@media (max-width: 1050px) {
.mythquiz-container {
flex-direction: column;
align-items: center;
}
.mythquiz-sidebar {
width: 100%;
max-width: 800px;
}
.mythquiz-main-content {
width: 100%;
max-width: 800px;
}
}
Which Mythical Creature Are You?
1. What’s your preferred environment?
Forest
Ocean
Sky
Mountain
Next
2. How do you handle challenges?
With fiery determination
With grace and calm
By adapting to the flow
By rising stronger each time
Next
3. What’s your greatest strength?
Wisdom
Courage
Creativity
Resilience
Next
4. What’s your ideal way to spend a day?
Creating art or music
Meditating in nature
Conquering a tough challenge
Reflecting and reinventing yourself
Next
5. What motivates you most?
Overcoming past struggles
Protecting those you care about
Seeking truth and harmony
Exploring new ideas and dreams
Next
6. How do you inspire others?
By radiating peace and kindness
Through your imaginative creations
By showing strength in adversity
By leading with fearless confidence
Next
7. What’s your approach to friendship?
Fiercely loyal and protective
Deeply empathetic and supportive
Playful and open-hearted
Inspiring and transformative
Next
Revealing your mythical creature…
You are a !
Try Again
document.addEventListener(‘DOMContentLoaded’, () => {
const quiz = document.getElementById(‘mythquiz-quiz’);
const questions = document.querySelectorAll(‘.mythquiz-question’);
const countdownDiv = document.getElementById(‘mythquiz-countdown’);
const resultDiv = document.getElementById(‘mythquiz-result’);
const creatureSpan = document.getElementById(‘mythquiz-creature’);
const descriptionP = document.getElementById(‘mythquiz-description’);
const creatureImage = document.getElementById(‘mythquiz-creature-image’);
const resetButton = document.getElementById(‘mythquiz-reset’);
const progressBar = document.getElementById(‘mythquiz-progress’);
let currentQuestion = 0;
let scores = {};
const descriptions = {
‘Dragon’: {
text: ‘You are a Dragon, a bold and powerful force of nature. Your courage and determination make you a natural leader, always ready to protect those you love and conquer any challenge. **Strengths**: Leadership, bravery, and unwavering loyalty. **Life Path**: You are destined to forge your own path, guarding ancient wisdom and inspiring others with your fearless spirit. Embrace your inner fire to overcome obstacles and lead with honor.’,
image: ‘
https://atenajos.blog/wp-content/uploads/2025/08/8326e-dragon.png’
},
‘Unicorn’: {
text: ‘You are a Unicorn, gentle, wise, and pure-hearted. Your calm presence and deep wisdom bring peace to those around you, and your empathy lights the way for others. **Strengths**: Compassion, insight, and a knack for finding harmony. **Life Path**: Your journey is one of healing and truth, guiding others toward balance and serenity. Trust your intuition to uncover the magic in everyday moments.’,
image: ‘
https://atenajos.blog/wp-content/uploads/2025/08/18dce-unicorn-1.png’
},
‘Mermaid’: {
text: ‘You are a Mermaid, curious, artistic, and endlessly adaptable. Your creative spirit flows like the tides, captivating others with your imagination and charm. **Strengths**: Creativity, flexibility, and a boundless sense of wonder. **Life Path**: You are meant to explore the depths of your dreams, weaving stories and art that inspire. Dive into your passions and let your unique voice shine.’,
image: ‘
https://atenajos.blog/wp-content/uploads/2025/08/fca23-mermaid-4.png’
},
‘Phoenix’: {
text: ‘You are a Phoenix, resilient, transformative, and truly inspiring. Your ability to rise from adversity with renewed strength makes you a beacon of hope. **Strengths**: Resilience, adaptability, and a powerful inner light. **Life Path**: Your destiny is to transform challenges into opportunities, guiding others through your example of rebirth. Embrace change as your greatest ally.’,
image: ‘
https://atenajos.blog/wp-content/uploads/2025/08/1241c-phoenix.png’
}
};
function updateProgress() {
try {
if (!progressBar) {
console.warn(‘Progress bar element not found’);
return;
}
const progressPercent = (currentQuestion / (questions.length + 1)) * 100;
progressBar.style.width = `${progressPercent}%`;
console.log(`Progress updated: ${progressPercent}%`);
} catch (error) {
console.error(‘Error in updateProgress:’, error);
}
}
function nextQuestion() {
console.log(`Next button clicked, currentQuestion: ${currentQuestion}`);
try {
if (currentQuestion < questions.length) {
questions[currentQuestion].classList.remove('active');
currentQuestion++;
if (currentQuestion {
option.addEventListener(‘click’, () => {
try {
const creature = option.getAttribute(‘data-creature’);
scores[creature] = (scores[creature] || 0) + 1;
option.classList.add(‘selected’);
console.log(`Option selected: ${creature}, Score: ${scores[creature]}`);
} catch (error) {
console.error(‘Error in option click:’, error);
}
});
});
quiz.addEventListener(‘click’, (event) => {
if (event.target.classList.contains(‘mythquiz-next-button’)) {
nextQuestion();
}
});
resetButton.addEventListener(‘click’, () => {
try {
scores = {};
currentQuestion = 0;
countdownDiv.style.display = ‘none’;
resultDiv.style.display = ‘none’;
resultDiv.classList.remove(‘active’);
questions.forEach((question, index) => {
question.classList.toggle(‘active’, index === 0);
});
document.querySelectorAll(‘.mythquiz-option’).forEach(option => {
option.classList.remove(‘selected’);
});
updateProgress();
console.log(‘Quiz reset’);
} catch (error) {
console.error(‘Error in reset:’, error);
}
});
function startCountdown() {
try {
questions.forEach(question => question.classList.remove(‘active’));
countdownDiv.style.display = ‘block’;
let dots = ”;
let countdown = 3;
const interval = setInterval(() => {
dots += ‘.’;
if (dots.length > 3) dots = ‘.’;
countdownDiv.textContent = `Revealing your mythical creature${dots}`;
countdown–;
if (countdown maxScore) {
maxScore = scores[creature];
winningCreature = creature;
}
}
if (!winningCreature) {
winningCreature = ‘Unicorn’;
}
creatureSpan.textContent = winningCreature;
descriptionP.textContent = descriptions[winningCreature].text;
creatureImage.src = descriptions[winningCreature].image;
creatureImage.alt = `${winningCreature} Mythical Creature`;
currentQuestion++;
updateProgress();
console.log(`Result shown: ${winningCreature}`);
} catch (error) {
console.error(‘Error in showResult:’, error);
}
}
function shareTwitter() {
try {
const creature = creatureSpan.textContent;
const text = `I’m a ${creature}! Find out which mythical creature you are with this fun quiz!`;
const url = window.location.href;
window.open(`https://twitter.com/intent/tweet?text=${encodeURIComponent(text)}&url=${encodeURIComponent(url)}`, ‘_blank’);
} catch (error) {
console.error(‘Error in shareTwitter:’, error);
}
}
function shareFacebook() {
try {
const creature = creatureSpan.textContent;
const url = window.location.href;
window.open(`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(url)}"e=${encodeURIComponent(`I’m a ${creature}! Which mythical creature are you?`)}`, ‘_blank’);
} catch (error) {
console.error(‘Error in shareFacebook:’, error);
}
}
function sharePinterest() {
try {
const creature = creatureSpan.textContent;
const url = window.location.href;
window.open(`https://pinterest.com/pin/create/button/?url=${encodeURIComponent(url)}&description=${encodeURIComponent(`I’m a ${creature}! Take this quiz to find out which mythical creature you are!`)}`, ‘_blank’);
} catch (error) {
console.error(‘Error in sharePinterest:’, error);
}
}
// Initialize first question
updateProgress();
});