<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>POD Platform Match Quiz</title>
  <style>
    @import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap');

    body {
      background: linear-gradient(120deg, #b5ead7 30%, #ffcbf2 100%);
      font-family: 'Nunito', sans-serif;
      margin: 0;
      padding: 0;
      color: #333;
    }

    .quiz-wrapper {
      max-width: 800px;
      margin: 50px auto;
      background-color: white;
      padding: 40px 50px;
      border-radius: 24px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
      animation: fadeIn 1s ease-in-out;
    }

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

    h2 {
      text-align: center;
      color: #222;
      font-size: 28px;
      margin-bottom: 30px;
    }

    .question {
      background-color: #f9f9f9;
      padding: 25px;
      border-left: 8px solid #b5ead7;
      border-radius: 16px;
      margin-bottom: 25px;
      transition: all 0.3s ease;
    }

    .question:hover {
      background-color: #f1f1f1;
    }

    .question p {
      font-weight: 700;
      margin-bottom: 10px;
    }

    label {
      display: block;
      margin: 10px 0;
      padding: 10px;
      background: #fff;
      border: 2px solid #eee;
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    label:hover {
      background: #fce4ec;
      border-color: #ffcbf2;
    }

    input[type="radio"] {
      margin-right: 12px;
      transform: scale(1.2);
    }

    button {
      background-color: #b5ead7;
      border: none;
      color: #222;
      padding: 14px 28px;
      font-size: 16px;
      font-weight: bold;
      border-radius: 12px;
      cursor: pointer;
      margin-top: 10px;
      transition: background-color 0.3s ease;
      display: block;
      margin-left: auto;
      margin-right: auto;
    }

    button:hover {
      background-color: #9fe0c4;
    }

    #result {
      margin-top: 40px;
      background-color: #ffcbf2;
      padding: 30px;
      border-radius: 20px;
      text-align: center;
      box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
      display: none;
      animation: fadeIn 1s ease-in-out;
    }

    #result h3 {
      margin-top: 0;
      font-size: 24px;
      color: #222;
    }
  </style>
</head>
<body>
  <div class="quiz-wrapper">
    <h2>✨ Your Ideal POD Supplement Solution</h2>

    <div class="question">
      <p>1. What's your business stage?</p>
      <label><input type="radio" name="q1" value="Supliful">Just starting out or testing the market</label>
      <label><input type="radio" name="q1" value="Vox Nutrition">Small but growing brand</label>
      <label><input type="radio" name="q1" value="SMP Nutra">Established business with resources</label>
    </div>

    <div class="question">
      <p>2. What’s most important when launching a product?</p>
      <label><input type="radio" name="q2" value="Supliful">Speed and ease of launch</label>
      <label><input type="radio" name="q2" value="Vox Nutrition">Branded packaging & visual control</label>
      <label><input type="radio" name="q2" value="SMP Nutra">Custom formulation & full control</label>
    </div>

    <div class="question">
      <p>3. How do you want to handle fulfillment?</p>
      <label><input type="radio" name="q3" value="Supliful">Fully automated dropshipping</label>
      <label><input type="radio" name="q3" value="Vox Nutrition">I’ll work with a 3PL partner</label>
      <label><input type="radio" name="q3" value="SMP Nutra">I have my own logistics setup</label>
    </div>

    <div class="question">
      <p>4. What product catalog size suits your goals?</p>
      <label><input type="radio" name="q4" value="Supliful">~250 SKUs for flexible scaling</label>
      <label><input type="radio" name="q4" value="Vox Nutrition">100+ core products are enough</label>
      <label><input type="radio" name="q4" value="SMP Nutra">500+ SKUs with niche products</label>
    </div>

    <div class="question">
      <p>5. How important is packaging control?</p>
      <label><input type="radio" name="q5" value="Supliful">I prefer simplicity and clean design</label>
      <label><input type="radio" name="q5" value="Vox Nutrition">I want some customization options</label>
      <label><input type="radio" name="q5" value="SMP Nutra">I want full packaging flexibility</label>
    </div>

    <button onclick="showResult()">Show My Best Match</button>

    <div id="result"></div>
  </div>

  <script>
    function showResult() {
      const questions = ['q1', 'q2', 'q3', 'q4', 'q5'];
      const scores = { "Supliful": 0, "Vox Nutrition": 0, "SMP Nutra": 0 };

      for (let q of questions) {
        const answer = document.querySelector(`input[name="${q}"]:checked`);
        if (!answer) {
          alert("Please answer all questions.");
          return;
        }
        scores[answer.value]++;
      }

      let winner = "Supliful";
      let highest = 0;

      for (let brand in scores) {
        if (scores[brand] > highest) {
          highest = scores[brand];
          winner = brand;
        }
      }

      const descriptions = {
        "Supliful": "✅ Best for ecommerce founders and creators. Supliful offers fast, low-risk market entry with dropshipping, no MOQ, and seamless Shopify/TikTok integration.",
        "Vox Nutrition": "📦 Ideal for growing brands who want more control over packaging and branding, with moderate SKUs and 3PL compatibility.",
        "SMP Nutra": "🏭 Perfect for established businesses looking for complete control over formulations, packaging, and high-SKU variety."
      };

      const resultBox = document.getElementById("result");
      resultBox.style.display = "block";
      resultBox.innerHTML = `<h3>🎯 Your Ideal Match: ${winner}</h3><p>${descriptions[winner]}</p>`;
    }
  </script>
</body>
</html>
 
by

HTML Online Editor & Compiler

Write, Run & Share HTML code online using OneCompiler's HTML online Code editor for free. It's one of the robust, feature-rich online Code editor for HTML language, running on the latest version HTML5. Getting started with the OneCompiler's HTML compiler is simple and pretty fast. The editor shows sample boilerplate code when you choose language as HTML. You can also specify the stylesheet information in styles.css tab and scripts information in scripts.js tab and start coding.

About HTML

HTML(Hyper Text Markup language) is the standard markup language for Web pages, was created by Berners-Lee in the year 1991. Almost every web page over internet might be using HTML.

Syntax help

Fundamentals

  • Any HTML document must start with document declaration <!DOCTYPE html>
  • HTML documents begin with <html> and ends with </html>
  • Headings are defined with <h1> to <h6> where <h1> is the highest important heading and <h6> is the least important sub-heading.
  • Paragraphs are defined in <p>..</p> tag.
  • Links are defined in <a> tag.

    Example:

    <a href="https://onecompiler.com/html">HTML online compiler</a>
    
  • Images are defined in <img> tag, where src attribute consists of image name.
  • Buttons are defined in <button>..</button> tag
  • Lists are defined in <ul> for unordered/bullet list and <ol> for ordered/number list, and the list items are defined in <li>.

HTML Elements and Attributes

  • HTML element is everything present from start tag to end tag.
  • The text present between start and end tag is called HTML element content.
  • Anything can be a tagname but it's preferred to put the meaningful title to the content present as tag name.
  • Do not forget the end tag.
  • Elements with no content are called empty elements.
  • Elements can have attributes which provides additional information about the element.
  • In the below example, href is an attribute and a is the tag name.

    Example:

    <a href="https://onecompiler.com/html">HTML online compiler</a>
    

CSS

CSS(cascading style sheets) describes how HTML elements will look on the web page like color, font-style, font-size, background color etc.

Example:

Below is a sample style sheet which displays heading in green and in Candara font with padding space of 25px.

body{
  padding: 25px;
}
.title {
	color: #228B22;
	font-family: Candara;
}

HTML Tables

  • HTML Tables are defined in <table> tag.
  • Table row should be defined in <tr> tag
  • Table header should be defined in <th> tag
  • Table data should be defined in <td> tag
  • Table caption should be defined in <caption> tag

HTML-Javascript

  • Javascript is used in HTML pages to make them more interactive.
  • <script> is the tag used to write scripts in HTML
  • You can either reference a external script or write script code in this tag.

Example

<script src="script.js"></script>