{"id":10,"date":"2026-10-19T20:50:26","date_gmt":"2026-10-19T20:50:26","guid":{"rendered":"https:\/\/invquizzes.com\/?page_id=10"},"modified":"2026-10-19T21:05:43","modified_gmt":"2026-10-19T21:05:43","slug":"disc-personality-test","status":"publish","type":"page","link":"https:\/\/invquizzes.com\/?page_id=10","title":{"rendered":"DISC Personality test"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"UTF-8\">\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n  <title>DISC Personality Assessment<\/title>\n  <!-- Tailwind CSS CDN -->\n  <script src=\"https:\/\/cdn.tailwindcss.com\"><\/script>\n  <!-- FontAwesome Icons -->\n  <link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/6.4.0\/css\/all.min.css\">\n  <style>\n    @import url('https:\/\/fonts.googleapis.com\/css2?family=Inter:wght@300;400;500;600;700&display=swap');\n    body {\n      font-family: 'Inter', sans-serif;\n    }\n  <\/style>\n<\/head>\n<body class=\"bg-slate-50 min-h-screen text-slate-800 flex flex-col justify-between\">\n\n  <!-- Header -->\n  <header class=\"bg-indigo-700 text-white py-10 px-4 shadow-md text-center\">\n    <div class=\"max-w-3xl mx-auto\">\n      <h1 class=\"text-3xl sm:text-4xl font-extrabold tracking-tight mb-3\">DISC Personality Assessment<\/h1>\n      <p class=\"text-indigo-100 text-base sm:text-lg\">\n        Discover your primary communication and behavioral style in just a few minutes.\n      <\/p>\n    <\/div>\n  <\/header>\n\n  <!-- Main Container -->\n  <main class=\"max-w-3xl mx-auto w-full px-4 py-8 flex-grow\">\n\n    <!-- Version Switcher & Instructions Card -->\n    <div class=\"bg-white rounded-xl shadow-sm border border-slate-200 p-6 mb-8\">\n      \n      <!-- Version Switcher Buttons -->\n      <div class=\"mb-6 pb-6 border-b border-slate-100\">\n        <label class=\"block text-xs font-bold uppercase tracking-wider text-slate-500 mb-3 text-center sm:text-left\">\n          Select Assessment Length:\n        <\/label>\n        <div class=\"grid grid-cols-2 gap-3 max-w-md mx-auto sm:mx-0\">\n          <button id=\"btnShort\" type=\"button\" onclick=\"switchVersion('short')\" class=\"py-3 px-4 rounded-xl border-2 font-semibold text-sm transition-all flex flex-col items-center justify-center gap-1 bg-indigo-50 border-indigo-600 text-indigo-700 shadow-sm\">\n            <span class=\"flex items-center gap-1.5\"><i class=\"fa-solid fa-bolt\"><\/i> Quick Version<\/span>\n            <span class=\"text-xs font-normal opacity-80\">12 Questions (~3 mins)<\/span>\n          <\/button>\n          <button id=\"btnFull\" type=\"button\" onclick=\"switchVersion('full')\" class=\"py-3 px-4 rounded-xl border-2 font-semibold text-sm transition-all flex flex-col items-center justify-center gap-1 bg-white border-slate-200 text-slate-600 hover:border-slate-300\">\n            <span class=\"flex items-center gap-1.5\"><i class=\"fa-solid fa-bullseye\"><\/i> In-Depth Version<\/span>\n            <span class=\"text-xs font-normal opacity-80\">24 Questions (~7 mins)<\/span>\n          <\/button>\n        <\/div>\n      <\/div>\n\n      <h2 class=\"text-xl font-bold text-slate-900 mb-2 flex items-center gap-2\">\n        <i class=\"fa-solid fa-circle-info text-indigo-600\"><\/i> How it works\n      <\/h2>\n      <p id=\"instructionText\" class=\"text-slate-600 mb-4 text-sm sm:text-base\">\n        Below are 12 sets of statements. For each set, select the <strong>one statement<\/strong> that best describes you in a professional or daily setting.\n      <\/p>\n      <div class=\"text-xs text-slate-500 bg-slate-50 p-3 rounded-lg border border-slate-200 flex items-center gap-2\">\n        <i class=\"fa-solid fa-lightbulb text-amber-500 text-base\"><\/i>\n        <span>Answer instinctively\u2014there are no right or wrong answers!<\/span>\n      <\/div>\n    <\/div>\n\n    <!-- Quiz Form -->\n    <form id=\"discForm\" class=\"space-y-6\">\n      <div id=\"questionsContainer\" class=\"space-y-6\">\n        <!-- Questions injected dynamically -->\n      <\/div>\n\n      <!-- Submit Button -->\n      <div class=\"pt-6\">\n        <button type=\"button\" onclick=\"calculateResult()\" class=\"w-full bg-indigo-600 hover:bg-indigo-700 text-white font-bold py-4 px-6 rounded-xl shadow-lg transition-all transform hover:-translate-y-0.5 active:translate-y-0 flex items-center justify-center gap-2 text-lg\">\n          <i class=\"fa-solid fa-chart-pie\"><\/i> Calculate My DISC Results\n        <\/button>\n      <\/div>\n    <\/form>\n\n    <!-- Results Section -->\n    <div id=\"resultContainer\" class=\"hidden bg-white rounded-2xl shadow-xl border border-slate-200 p-6 sm:p-8 mt-8 transition-all\">\n      <div class=\"text-center mb-8\">\n        <span class=\"text-xs font-bold uppercase tracking-wider text-indigo-600 bg-indigo-50 px-3 py-1 rounded-full\">Your Assessment Results<\/span>\n        <h2 id=\"dominantTitle\" class=\"text-3xl font-extrabold text-slate-900 mt-2\"><\/h2>\n        <p id=\"dominantSubtitle\" class=\"text-slate-600 mt-1 italic\"><\/p>\n      <\/div>\n\n      <!-- Scores \/ Progress Bars -->\n      <div class=\"space-y-4 mb-8\">\n        <!-- D -->\n        <div>\n          <div class=\"flex justify-between text-sm font-semibold mb-1\">\n            <span class=\"text-red-600 flex items-center gap-1.5\"><i class=\"fa-solid fa-bolt\"><\/i> Dominance (D)<\/span>\n            <span id=\"scoreD\" class=\"text-slate-600\">0%<\/span>\n          <\/div>\n          <div class=\"w-full bg-slate-100 rounded-full h-3.5 overflow-hidden\">\n            <div id=\"barD\" class=\"bg-red-500 h-3.5 rounded-full transition-all duration-1000\" style=\"width: 0%\"><\/div>\n          <\/div>\n        <\/div>\n\n        <!-- I -->\n        <div>\n          <div class=\"flex justify-between text-sm font-semibold mb-1\">\n            <span class=\"text-amber-500 flex items-center gap-1.5\"><i class=\"fa-solid fa-comments\"><\/i> Influence (I)<\/span>\n            <span id=\"scoreI\" class=\"text-slate-600\">0%<\/span>\n          <\/div>\n          <div class=\"w-full bg-slate-100 rounded-full h-3.5 overflow-hidden\">\n            <div id=\"barI\" class=\"bg-amber-400 h-3.5 rounded-full transition-all duration-1000\" style=\"width: 0%\"><\/div>\n          <\/div>\n        <\/div>\n\n        <!-- S -->\n        <div>\n          <div class=\"flex justify-between text-sm font-semibold mb-1\">\n            <span class=\"text-emerald-600 flex items-center gap-1.5\"><i class=\"fa-solid fa-handshake\"><\/i> Steadiness (S)<\/span>\n            <span id=\"scoreS\" class=\"text-slate-600\">0%<\/span>\n          <\/div>\n          <div class=\"w-full bg-slate-100 rounded-full h-3.5 overflow-hidden\">\n            <div id=\"barS\" class=\"bg-emerald-500 h-3.5 rounded-full transition-all duration-1000\" style=\"width: 0%\"><\/div>\n          <\/div>\n        <\/div>\n\n        <!-- C -->\n        <div>\n          <div class=\"flex justify-between text-sm font-semibold mb-1\">\n            <span class=\"text-blue-600 flex items-center gap-1.5\"><i class=\"fa-solid fa-magnifying-glass\"><\/i> Conscientiousness (C)<\/span>\n            <span id=\"scoreC\" class=\"text-slate-600\">0%<\/span>\n          <\/div>\n          <div class=\"w-full bg-slate-100 rounded-full h-3.5 overflow-hidden\">\n            <div id=\"barC\" class=\"bg-blue-500 h-3.5 rounded-full transition-all duration-1000\" style=\"width: 0%\"><\/div>\n          <\/div>\n        <\/div>\n      <\/div>\n\n      <!-- Profile Details -->\n      <div class=\"bg-slate-50 rounded-xl p-5 border border-slate-200 space-y-4 text-slate-700 text-sm sm:text-base\">\n        <h3 class=\"font-bold text-slate-900 text-lg flex items-center gap-2\">\n          <i class=\"fa-solid fa-user-check text-indigo-600\"><\/i> Profile Breakdown\n        <\/h3>\n        <p id=\"traitDescription\"><\/p>\n        <div class=\"grid grid-cols-1 sm:grid-cols-2 gap-4 pt-2\">\n          <div class=\"bg-white p-3.5 rounded-lg border border-slate-200\">\n            <strong class=\"text-slate-900 block mb-1\">Key Strengths:<\/strong>\n            <span id=\"traitStrengths\" class=\"text-slate-600 text-xs sm:text-sm\"><\/span>\n          <\/div>\n          <div class=\"bg-white p-3.5 rounded-lg border border-slate-200\">\n            <strong class=\"text-slate-900 block mb-1\">Growth Areas:<\/strong>\n            <span id=\"traitGrowth\" class=\"text-slate-600 text-xs sm:text-sm\"><\/span>\n          <\/div>\n        <\/div>\n      <\/div>\n\n      <!-- Retake Button -->\n      <div class=\"mt-8 text-center\">\n        <button type=\"button\" onclick=\"resetQuiz()\" class=\"px-6 py-2.5 bg-slate-200 hover:bg-slate-300 text-slate-700 font-semibold rounded-lg text-sm transition-colors\">\n          <i class=\"fa-solid fa-rotate-right mr-1\"><\/i> Retake Questionnaire\n        <\/button>\n      <\/div>\n    <\/div>\n\n  <\/main>\n\n  <footer class=\"bg-slate-100 border-t border-slate-200 py-4 text-center text-xs text-slate-500\">\n    <p>DISC Personality Self-Assessment Tool<\/p>\n  <\/footer>\n\n  <script>\n    \/\/ 24 Full Questions (First 12 are used for the Quick version)\n    const allQuestions = [\n      \/\/ 1-12 (Short version subset)\n      { id: 1, options: [ { text: \"Assertive, goal-oriented, and decisive.\", trait: \"D\" }, { text: \"Enthusiastic, expressive, and optimistic.\", trait: \"I\" }, { text: \"Patient, dependable, and a good listener.\", trait: \"S\" }, { text: \"Analytical, precise, and systematic.\", trait: \"C\" } ] },\n      { id: 2, options: [ { text: \"I enjoy overcoming challenges and taking charge.\", trait: \"D\" }, { text: \"I thrive on social connection and inspiring others.\", trait: \"I\" }, { text: \"I value harmony, routines, and supporting team members.\", trait: \"S\" }, { text: \"I focus on accuracy, high standards, and details.\", trait: \"C\" } ] },\n      { id: 3, options: [ { text: \"Direct and straightforward.\", trait: \"D\" }, { text: \"Persuasive and engaging.\", trait: \"I\" }, { text: \"Calm and agreeable.\", trait: \"S\" }, { text: \"Logical and factual.\", trait: \"C\" } ] },\n      { id: 4, options: [ { text: \"Making quick progress and seeing tangible results.\", trait: \"D\" }, { text: \"Receiving social recognition and working with people.\", trait: \"I\" }, { text: \"Having stability, security, and a predictable pace.\", trait: \"S\" }, { text: \"Producing flawless, high-quality work.\", trait: \"C\" } ] },\n      { id: 5, options: [ { text: \"Take immediate control and find a rapid solution.\", trait: \"D\" }, { text: \"Talk it out and try to keep everyone energized.\", trait: \"I\" }, { text: \"Remain patient and work through it cooperatively.\", trait: \"S\" }, { text: \"Analyze the facts carefully before making a move.\", trait: \"C\" } ] },\n      { id: 6, options: [ { text: \"Competitive, risk-taker, ambitious.\", trait: \"D\" }, { text: \"Charming, spontaneous, popular.\", trait: \"I\" }, { text: \"Loyal, supportive, consistent.\", trait: \"S\" }, { text: \"Methodical, thorough, organized.\", trait: \"C\" } ] },\n      { id: 7, options: [ { text: \"Indecisiveness or inefficiency.\", trait: \"D\" }, { text: \"Being ignored or feeling isolated.\", trait: \"I\" }, { text: \"Sudden changes and unexpected conflicts.\", trait: \"S\" }, { text: \"Careless mistakes and lack of clear rules.\", trait: \"C\" } ] },\n      { id: 8, options: [ { text: \"Bold and result-driven leader.\", trait: \"D\" }, { text: \"Inspirational and charismatic communicator.\", trait: \"I\" }, { text: \"Reliable and supportive team player.\", trait: \"S\" }, { text: \"Objective and careful expert.\", trait: \"C\" } ] },\n      { id: 9, options: [ { text: \"To overcome obstacles and win.\", trait: \"D\" }, { text: \"To connect, build relationships, and have fun.\", trait: \"I\" }, { text: \"To help others and maintain stability.\", trait: \"S\" }, { text: \"To ensure accuracy and follow correct processes.\", trait: \"C\" } ] },\n      { id: 10, options: [ { text: \"Decisive and action-oriented.\", trait: \"D\" }, { text: \"Creative and intuitive.\", trait: \"I\" }, { text: \"Thoughtful and consensus-seeking.\", trait: \"S\" }, { text: \"Data-driven and cautious.\", trait: \"C\" } ] },\n      { id: 11, options: [ { text: \"Focus primarily on the big picture and immediate action.\", trait: \"D\" }, { text: \"Focus on how it impacts people and morale.\", trait: \"I\" }, { text: \"Focus on keeping step-by-step continuity.\", trait: \"S\" }, { text: \"Focus on digging into every detail and procedure.\", trait: \"C\" } ] },\n      { id: 12, options: [ { text: \"Demanding and fast-paced.\", trait: \"D\" }, { text: \"Lively, open, and interactive.\", trait: \"I\" }, { text: \"Calm, harmonious, and steady.\", trait: \"S\" }, { text: \"Structured, quiet, and disciplined.\", trait: \"C\" } ] },\n\n      \/\/ 13-24 (Additional questions for Full version)\n      { id: 13, options: [ { text: \"I speak up immediately and push my agenda.\", trait: \"D\" }, { text: \"I keep the mood light and encourage dynamic discussion.\", trait: \"I\" }, { text: \"I listen quietly and support agreed decisions.\", trait: \"S\" }, { text: \"I prepare detailed notes and focus on facts.\", trait: \"C\" } ] },\n      { id: 14, options: [ { text: \"Driven by challenge, authority, and autonomy.\", trait: \"D\" }, { text: \"Driven by approval, popularity, and creative freedom.\", trait: \"I\" }, { text: \"Driven by security, appreciation, and teamwork.\", trait: \"S\" }, { text: \"Driven by accuracy, high standards, and logic.\", trait: \"C\" } ] },\n      { id: 15, options: [ { text: \"Focus on fast action, even if details are missed.\", trait: \"D\" }, { text: \"Focus on keeping everyone motivated and involved.\", trait: \"I\" }, { text: \"Focus on maintaining steady progress and team harmony.\", trait: \"S\" }, { text: \"Focus on perfection, risk-reduction, and rules.\", trait: \"C\" } ] },\n      { id: 16, options: [ { text: \"Impatient or overly aggressive.\", trait: \"D\" }, { text: \"Overly talkative or disorganized.\", trait: \"I\" }, { text: \"Too hesitant or overly accommodating.\", trait: \"S\" }, { text: \"Too critical or overly cautious.\", trait: \"C\" } ] },\n      { id: 17, options: [ { text: \"Delegate quickly and demand accountability.\", trait: \"D\" }, { text: \"Inspire and influence others to collaborate.\", trait: \"I\" }, { text: \"Offer hands-on support and steady assistance.\", trait: \"S\" }, { text: \"Establish precise procedures and clear guidelines.\", trait: \"C\" } ] },\n      { id: 18, options: [ { text: \"I prefer fast, high-level summaries.\", trait: \"D\" }, { text: \"I prefer informal, visual, and energetic presentations.\", trait: \"I\" }, { text: \"I prefer step-by-step, personal explanations.\", trait: \"S\" }, { text: \"I prefer detailed, written data reports.\", trait: \"C\" } ] },\n      { id: 19, options: [ { text: \"Facing opposition directly and standing my ground.\", trait: \"D\" }, { text: \"Using charm and optimism to defuse tension.\", trait: \"I\" }, { text: \"Seeking compromise and preserving peace.\", trait: \"S\" }, { text: \"Relying on logic, policies, and clear facts.\", trait: \"C\" } ] },\n      { id: 20, options: [ { text: \"To be in control and achieve results.\", trait: \"D\" }, { text: \"To be admired, liked, and recognized.\", trait: \"I\" }, { text: \"To feel secure and accepted within a group.\", trait: \"S\" }, { text: \"To be right and maintain high quality.\", trait: \"C\" } ] },\n      { id: 21, options: [ { text: \"I adapt instantly and look for new opportunities.\", trait: \"D\" }, { text: \"I get excited about new possibilities.\", trait: \"I\" }, { text: \"I prefer gradual change with plenty of notice.\", trait: \"S\" }, { text: \"I analyze the risks and check for potential flaws.\", trait: \"C\" } ] },\n      { id: 22, options: [ { text: \"I delegate or push through it as fast as possible.\", trait: \"D\" }, { text: \"I get distracted or look for something more exciting.\", trait: \"I\" }, { text: \"I work through it methodically and quietly.\", trait: \"S\" }, { text: \"I enjoy double-checking every detail.\", trait: \"C\" } ] },\n      { id: 23, options: [ { text: \"I am decisive, energetic, and firm.\", trait: \"D\" }, { text: \"I am cheerful, friendly, and lively.\", trait: \"I\" }, { text: \"I am considerate, patient, and dependable.\", trait: \"S\" }, { text: \"I am reserved, objective, and precise.\", trait: \"C\" } ] },\n      { id: 24, options: [ { text: \"Achieving tangible success and winning.\", trait: \"D\" }, { text: \"Creating positive social interactions.\", trait: \"I\" }, { text: \"Maintaining long-term relationships and stability.\", trait: \"S\" }, { text: \"Ensuring order, logic, and accuracy.\", trait: \"C\" } ] }\n    ];\n\n    const profiles = {\n      D: {\n        title: \"Dominance (Type D)\",\n        subtitle: \"Direct, Results-Oriented, Firm, and Decisive\",\n        description: \"You are driven by action, challenges, and achieving results. You naturally take initiative, thrive in competitive environments, and prefer direct communication without fluff.\",\n        strengths: \"Quick decision-making, natural leadership, goal orientation, problem-solving under pressure.\",\n        growth: \"Practicing active listening, showing patience with others, avoiding overly blunt criticism.\"\n      },\n      I: {\n        title: \"Influence (Type I)\",\n        subtitle: \"Outgoing, Enthusiastic, Optimistic, and High-Spirited\",\n        description: \"You are energized by social interactions, collaboration, and motivating others. You excel at building enthusiasm, sharing creative ideas, and creating an open, friendly atmosphere.\",\n        strengths: \"Persuasion, optimism, network building, teamwork, enthusiastic communication.\",\n        growth: \"Following through on tedious details, time management, staying focused on single tasks.\"\n      },\n      S: {\n        title: \"Steadiness (Type S)\",\n        subtitle: \"Even-Tempered, Accommodating, Patient, and Dependable\",\n        description: \"You value stability, harmony, and dependable relationships. You are a calm, supportive listener who excels in team settings that require cooperation and reliable routine.\",\n        strengths: \"Empathy, active listening, reliability, team collaboration, loyalty, conflict resolution.\",\n        growth: \"Adapting quickly to unexpected changes, expressing personal needs more assertively.\"\n      },\n      C: {\n        title: \"Conscientiousness (Type C)\",\n        subtitle: \"Analytical, Reserved, Precise, and Systematic\",\n        description: \"You place a strong emphasis on quality, accuracy, and expertise. You prefer structured environments, data-driven decisions, and logical solutions over emotional instincts.\",\n        strengths: \"High quality standards, attention to detail, objective analytical thinking, organization.\",\n        growth: \"Avoiding over-analysis (paralysis by analysis), accepting minor imperfections, delegating tasks.\"\n      }\n    };\n\n    let currentVersion = 'short'; \/\/ 'short' (12 questions) or 'full' (24 questions)\n\n    function switchVersion(version) {\n      currentVersion = version;\n      const btnShort = document.getElementById('btnShort');\n      const btnFull = document.getElementById('btnFull');\n      const instructionText = document.getElementById('instructionText');\n\n      if (version === 'short') {\n        btnShort.className = \"py-3 px-4 rounded-xl border-2 font-semibold text-sm transition-all flex flex-col items-center justify-center gap-1 bg-indigo-50 border-indigo-600 text-indigo-700 shadow-sm\";\n        btnFull.className = \"py-3 px-4 rounded-xl border-2 font-semibold text-sm transition-all flex flex-col items-center justify-center gap-1 bg-white border-slate-200 text-slate-600 hover:border-slate-300\";\n        instructionText.innerHTML = \"Below are <strong>12 sets of statements<\/strong>. For each set, select the <strong>one statement<\/strong> that best describes you in a professional or daily setting.\";\n      } else {\n        btnFull.className = \"py-3 px-4 rounded-xl border-2 font-semibold text-sm transition-all flex flex-col items-center justify-center gap-1 bg-indigo-50 border-indigo-600 text-indigo-700 shadow-sm\";\n        btnShort.className = \"py-3 px-4 rounded-xl border-2 font-semibold text-sm transition-all flex flex-col items-center justify-center gap-1 bg-white border-slate-200 text-slate-600 hover:border-slate-300\";\n        instructionText.innerHTML = \"Below are <strong>24 sets of statements<\/strong> for a more precise analysis. For each set, select the <strong>one statement<\/strong> that best describes you in a professional or daily setting.\";\n      }\n\n      resetQuiz();\n    }\n\n    function renderQuestions() {\n      const container = document.getElementById('questionsContainer');\n      container.innerHTML = '';\n\n      const questionsToRender = currentVersion === 'short' ? allQuestions.slice(0, 12) : allQuestions;\n\n      questionsToRender.forEach((q, index) => {\n        const card = document.createElement('div');\n        card.className = \"bg-white p-5 rounded-xl border border-slate-200 shadow-sm hover:border-indigo-200 transition-colors\";\n        \n        let optionsHTML = '';\n        q.options.forEach((opt) => {\n          optionsHTML += `\n            <label class=\"flex items-start p-3 rounded-lg border border-slate-100 hover:bg-indigo-50\/50 cursor-pointer transition-colors text-slate-700 text-sm\">\n              <input type=\"radio\" name=\"q${q.id}\" value=\"${opt.trait}\" class=\"mt-0.5 h-4 w-4 text-indigo-600 focus:ring-indigo-500 border-slate-300\">\n              <span class=\"ml-3 font-medium\">${opt.text}<\/span>\n            <\/label>\n          `;\n        });\n\n        card.innerHTML = `\n          <div class=\"flex items-center justify-between mb-3\">\n            <span class=\"text-xs font-bold text-indigo-600 uppercase tracking-wide\">Question ${index + 1} of ${questionsToRender.length}<\/span>\n            <span class=\"text-xs text-slate-400 font-medium\">Select 1 option<\/span>\n          <\/div>\n          <p class=\"font-semibold text-slate-800 text-sm sm:text-base mb-3\">Which statement best describes you?<\/p>\n          <div class=\"space-y-2\">\n            ${optionsHTML}\n          <\/div>\n        `;\n        container.appendChild(card);\n      });\n    }\n\n    function calculateResult() {\n      const questionsToCalculate = currentVersion === 'short' ? allQuestions.slice(0, 12) : allQuestions;\n      const counts = { D: 0, I: 0, S: 0, C: 0 };\n      let answeredCount = 0;\n\n      questionsToCalculate.forEach(q => {\n        const selected = document.querySelector(`input[name=\"q${q.id}\"]:checked`);\n        if (selected) {\n          counts[selected.value]++;\n          answeredCount++;\n        }\n      });\n\n      if (answeredCount < questionsToCalculate.length) {\n        alert(`Please answer all ${questionsToCalculate.length} questions to view your complete DISC analysis.`);\n        return;\n      }\n\n      const total = questionsToCalculate.length;\n      const percentD = Math.round((counts.D \/ total) * 100);\n      const percentI = Math.round((counts.I \/ total) * 100);\n      const percentS = Math.round((counts.S \/ total) * 100);\n      const percentC = Math.round((counts.C \/ total) * 100);\n\n      \/\/ Determine dominant profile\n      let dominant = 'D';\n      let maxScore = counts.D;\n\n      if (counts.I > maxScore) { dominant = 'I'; maxScore = counts.I; }\n      if (counts.S > maxScore) { dominant = 'S'; maxScore = counts.S; }\n      if (counts.C > maxScore) { dominant = 'C'; maxScore = counts.C; }\n\n      \/\/ Update UI\n      document.getElementById('scoreD').innerText = `${percentD}%`;\n      document.getElementById('scoreI').innerText = `${percentI}%`;\n      document.getElementById('scoreS').innerText = `${percentS}%`;\n      document.getElementById('scoreC').innerText = `${percentC}%`;\n\n      document.getElementById('barD').style.width = `${percentD}%`;\n      document.getElementById('barI').style.width = `${percentI}%`;\n      document.getElementById('barS').style.width = `${percentS}%`;\n      document.getElementById('barC').style.width = `${percentC}%`;\n\n      const profile = profiles[dominant];\n      document.getElementById('dominantTitle').innerText = profile.title;\n      document.getElementById('dominantSubtitle').innerText = profile.subtitle;\n      document.getElementById('traitDescription').innerText = profile.description;\n      document.getElementById('traitStrengths').innerText = profile.strengths;\n      document.getElementById('traitGrowth').innerText = profile.growth;\n\n      const resultBox = document.getElementById('resultContainer');\n      resultBox.classList.remove('hidden');\n      resultBox.scrollIntoView({ behavior: 'smooth' });\n    }\n\n    function resetQuiz() {\n      document.getElementById('discForm').reset();\n      document.getElementById('resultContainer').classList.add('hidden');\n      renderQuestions();\n    }\n\n    \/\/ Initialize\n    window.onload = renderQuestions;\n  <\/script>\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>DISC Personality Assessment DISC Personality Assessment Discover your primary communication and behavioral style in just a few minutes. Select Assessment&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"iawp_total_views":0,"footnotes":""},"class_list":["post-10","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/invquizzes.com\/index.php?rest_route=\/wp\/v2\/pages\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/invquizzes.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/invquizzes.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/invquizzes.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/invquizzes.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10"}],"version-history":[{"count":4,"href":"https:\/\/invquizzes.com\/index.php?rest_route=\/wp\/v2\/pages\/10\/revisions"}],"predecessor-version":[{"id":20,"href":"https:\/\/invquizzes.com\/index.php?rest_route=\/wp\/v2\/pages\/10\/revisions\/20"}],"wp:attachment":[{"href":"https:\/\/invquizzes.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}