Discover Your Perfect Travel Vibe: Take the Quiz

What’s Your Dream Travel Destination Vibe? body { font-family: ‘Poppins’, sans-serif; background: linear-gradient(135deg, #e6f0fa 0%, #ffffff 100%); margin: 0; padding: 20px; color: #333; display: flex; justify-content: center; align-items: center; min-height: 100vh; } .quiz-container { max-width: 700px; width: 100%; background: #ffffff; padding: 30px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: transform 0.3s ease; } .quiz-container:hover { transform: translateY(-5px); } h1 { font-size: 28px; color: #1a3c6e; text-align: center; margin-bottom: 20px; } .question { font-size: 20px; font-weight: 600; color: #1a3c6e; margin: 20px 0; text-align: center; } .options { display: grid; gap: 15px; } .option-btn { background: #f1f5f9; border: 2px solid #d1d9e6; padding: 15px; border-radius: 10px; font-size: 16px; font-weight: 500; color: #2d3748; cursor: pointer; transition: background 0.3s, transform 0.2s, border-color 0.3s; text-align: left; } .option-btn:hover { background: #dbeafe; border-color: #3b82f6; transform: scale(1.02); } .option-btn:active { transform: scale(0.98); } button { background: linear-gradient(90deg, #3b82f6, #60a5fa); color: #fff; border: none; padding: 12px 20px; border-radius: 10px; cursor: pointer; font-size: 16px; font-weight: 500; transition: background 0.3s; display: block; margin: 20px auto; } button:hover { background: linear-gradient(90deg, #2563eb, #3b82f6); } .progress-bar { width: 100%; height: 8px; background: #e5e7eb; border-radius: 5px; margin-bottom: 20px; overflow: hidden; } .progress { height: 100%; background: #22c55e; width: 0; transition: width 0.3s ease; } #result { display: none; text-align: center; } .result-card { background: #f8fafc; padding: 20px; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); animation: fadeIn 0.5s ease; margin-top: 20px; } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } #result h2 { color: #22c55e; font-size: 24px; margin-bottom: 10px; } #result p { font-size: 16px; color: #4b5563; } #result img { max-width: 100%; border-radius: 10px; margin: 20px 0; } .share-buttons { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 20px 0; } .share-buttons a { display: inline-flex; align-items: center; text-decoration: none; color: #fff; padding: 10px 15px; border-radius: 8px; font-size: 14px; font-weight: 500; transition: transform 0.2s; } .share-buttons a i { margin-right: 5px; } .share-buttons a:hover { transform: scale(1.05); } .twitter { background-color: #1DA1F2; } .twitter:hover { background-color: #0d8bdc; } .facebook { background-color: #3b5998; } .facebook:hover { background-color: #2a4373; } .whatsapp { background-color: #25D366; } .whatsapp:hover { background-color: #1da851; } .linkedin { background-color: #0077b5; } .linkedin:hover { background-color: #005f8f; } .pinterest { background-color: #E60023; } .pinterest:hover { background-color: #b8001b; } #reset-btn { background: linear-gradient(90deg, #ef4444, #f87171); } #reset-btn:hover { background: linear-gradient(90deg, #dc2626, #ef4444); } @media (max-width: 600px) { .quiz-container { padding: 20px; } h1 { font-size: 24px; } .question { font-size: 18px; } .option-btn { font-size: 14px; padding: 12px; } button { font-size: 14px; } #result h2 { font-size: 20px; } #result p { font-size: 14px; } }

What’s Your Dream Travel Destination Vibe?

Next
const questions = [ { question: “What’s your ideal vacation vibe?”, options: [“Relaxing on a beach”, “Exploring a bustling city”, “Hiking in the mountains”, “Adventuring in a jungle”], scores: { beach: [1,0,0,0], city: [0,1,0,0], mountain: [0,0,1,0], jungle: [0,0,0,1] } }, { question: “What’s your travel must-have?”, options: [“Camera for photos”, “A good book”, “Hiking boots”, “Snacks for the journey”], scores: { beach: [1,0,0,0], city: [0,1,0,0], mountain: [0,0,1,0], jungle: [0,0,0,1] } }, { question: “Pick your dream travel activity!”, options: [“Sunbathing by the sea”, “Museum hopping”, “Skiing or trekking”, “Wildlife safari”], scores: { beach: [1,0,0,0], city: [0,1,0,0], mountain: [0,0,1,0], jungle: [0,0,0,1] } }, { question: “What’s your ideal travel companion?”, options: [“Going solo”, “Friends”, “Partner”, “Family”], scores: { beach: [1,0,0,0], city: [0,1,0,0], mountain: [0,0,1,0], jungle: [0,0,0,1] } }, { question: “What’s your dream travel meal?”, options: [“Seafood feast by the ocean”, “Street food in a city”, “Fine dining experience”, “Campfire BBQ in the wild”], scores: { beach: [1,0,0,0], city: [0,1,0,0], mountain: [0,0,1,0], jungle: [0,0,0,1] } } ]; const results = { beach: { title: “You’re a Santorini Sunseeker!”, description: “You love soaking up the sun and relaxing by crystal waters. Santorini, with its whitewashed villas and stunning beaches, is your dream destination!”, image: “https://images.unsplash.com/photo-1570077188670-e3a8d69ac5ff?ixlib=rb-4.0.3&auto=format&fit=crop&w=600” }, city: { title: “You’re a Paris Explorer!”, description: “You thrive in vibrant cities full of culture and history. Paris, with its cafes, museums, and charm, is calling your name!”, image: “https://images.unsplash.com/photo-1502602898657-3e91760cbb34?ixlib=rb-4.0.3&auto=format&fit=crop&w=600” }, mountain: { title: “You’re an Alps Adventurer!”, description: “You crave fresh air and epic views. The Alps, with their snowy peaks and hiking trails, are your perfect getaway!”, image: “https://atenajos.blog/wp-content/uploads/2025/08/1351a-youre-an-alps-adventurer.png” }, jungle: { title: “You’re an Amazon Explorer!”, description: “You’re all about adventure and nature. The Amazon, with its wild jungles and exotic wildlife, is your ultimate destination!”, image: “https://atenajos.blog/wp-content/uploads/2025/08/b7f36-youre-an-amazon-explorer.png” } }; let currentQuestion = 0; let scores = { beach: 0, city: 0, mountain: 0, jungle: 0 }; function updateProgress() { const progressPercent = ((currentQuestion + 1) / questions.length) * 100; document.getElementById(‘progress’).style.width = `${progressPercent}%`; } function loadQuestion() { const q = questions[currentQuestion]; document.getElementById(‘question’).innerText = q.question; const optionsDiv = document.getElementById(‘options’); optionsDiv.innerHTML = ”; q.options.forEach((option, index) => { const btn = document.createElement(‘button’); btn.className = ‘option-btn’; btn.innerText = option; btn.onclick = () => selectOption(index); optionsDiv.appendChild(btn); }); updateProgress(); } function selectOption(index) { const q = questions[currentQuestion]; for (let key in scores) { scores[key] += q.scores[key][index]; } document.getElementById(‘next-btn’).disabled = false; } function nextQuestion() { currentQuestion++; if (currentQuestion maxScore) { maxScore = scores[key]; resultKey = key; } } const result = results[resultKey]; document.getElementById(‘result-title’).innerText = result.title; document.getElementById(‘result-description’).innerText = result.description; document.getElementById(‘result-image’).src = result.image; const quizUrl = ‘https://atomic-temporary-240405815.wpcomstaging.com/’; const shareText = `I got ${result.title} on the Dream Travel Destination Quiz! Find yours at ${quizUrl}`; document.getElementById(‘share-twitter’).href = `https://twitter.com/intent/tweet?text=${encodeURIComponent(shareText)}`; document.getElementById(‘share-facebook’).href = `https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(quizUrl)}`; document.getElementById(‘share-whatsapp’).href = `https://api.whatsapp.com/send?text=${encodeURIComponent(shareText)}`; document.getElementById(‘share-linkedin’).href = `https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(quizUrl)}`; document.getElementById(‘share-pinterest’).href = `https://pinterest.com/pin/create/button/?url=${encodeURIComponent(quizUrl)}&media=${encodeURIComponent(result.image)}&description=${encodeURIComponent(shareText)}`; } function resetQuiz() { currentQuestion = 0; scores = { beach: 0, city: 0, mountain: 0, jungle: 0 }; document.getElementById(‘quiz’).style.display = ‘block’; document.getElementById(‘result’).style.display = ‘none’; loadQuestion(); document.getElementById(‘next-btn’).disabled = true; } loadQuestion(); document.getElementById(‘next-btn’).disabled = true;

Discover more from atenajos

Subscribe to get the latest posts sent to your email.

Watch on YouTube

Discover more from atenajos

Subscribe now to keep reading and get access to the full archive.

Continue reading

Discover more from atenajos

Subscribe now to keep reading and get access to the full archive.

Continue reading