Changes to seovsppc.scroll.pub

root
root
25 days ago
Initial commit
body.html
Changed around line 1
+
+
+
+
+
+
+
+
+

Find Your Perfect Marketing Strategy

+

Answer a few questions to discover whether SEO or PPC is better for your website

+
+
+
+

Decision Tool

+
+
+
+
+
+
+

What's your primary goal?

+
+
+
+
+
+
+
+
+

Your Recommended Strategy:

+
+
+
+
+
+
+
+

SEO vs PPC Comparison

+
+
+

SEO

+
    +
  • Long-term results
  • +
  • Lower cost over time
  • +
  • Builds authority
  • +
  • Organic traffic
  • +
    +
    +
    +

    PPC

    +
      +
    • Immediate results
    • +
    • Precise targeting
    • +
    • Controlled budget
    • +
    • Measurable ROI
    • +
      +
      +
      +
      +
      +
      +
      +
      +

      Created by Digital Marketing Experts

      +
      +
      index.scroll
      Changed around line 1
      + buildHtml
      + baseUrl https://seovsppc.scroll.pub
      + metaTags
      + description "Interactive tool to help you decide whether SEO or PPC is better for your website marketing strategy"
      + keywords "SEO vs PPC, digital marketing strategy, marketing decision tool, SEO or PPC"
      + editButton /edit.html
      + title SEO vs PPC Decision Tool
      + style.css
      + body.html
      + script.js
      prompt.json
      Changed around line 1
      + {
      + "id": "msg_016Yf8TyAHnersYDSW6jwPii",
      + "type": "message",
      + "role": "assistant",
      + "model": "claude-3-5-sonnet-20241022",
      + "content": [
      + {
      + "type": "text",
      + "text": "I'll create a website to help users decide between SEO and PPC strategies with an interactive assessment tool.\n\n---domain---\nseovsppc.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://seovsppc.scroll.pub\nmetaTags\n description \"Interactive tool to help you decide whether SEO or PPC is better for your website marketing strategy\"\n keywords \"SEO vs PPC, digital marketing strategy, marketing decision tool, SEO or PPC\"\neditButton /edit.html\ntitle SEO vs PPC Decision Tool\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n
      \n \n
      \n\n
      \n
      \n

      Find Your Perfect Marketing Strategy

      \n

      Answer a few questions to discover whether SEO or PPC is better for your website

      \n Get Started\n
      \n\n
      \n

      Decision Tool

      \n
      \n
      \n
      \n
      \n
      \n
      \n

      What's your primary goal?

      \n
      \n \n \n \n
      \n
      \n
      \n
      \n

      Your Recommended Strategy:

      \n
      \n \n
      \n
      \n
      \n\n
      \n

      SEO vs PPC Comparison

      \n
      \n
      \n

      SEO

      \n
        \n
      • Long-term results
      • \n
      • Lower cost over time
      • \n
      • Builds authority
      • \n
      • Organic traffic
      • \n
      \n
      \n
      \n

      PPC

      \n
        \n
      • Immediate results
      • \n
      • Precise targeting
      • \n
      • Controlled budget
      • \n
      • Measurable ROI
      • \n
      \n
      \n
      \n
      \n
      \n\n\n\n---style.css---\n:root {\n --primary: #2a6cff;\n --secondary: #ff6b6b;\n --background: #f8f9fa;\n --text: #2d3436;\n --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;\n line-height: 1.6;\n color: var(--text);\n background: var(--background);\n}\n\nheader {\n position: fixed;\n width: 100%;\n top: 0;\n background: white;\n box-shadow: var(--shadow);\n z-index: 1000;\n}\n\nnav {\n max-width: 1200px;\n margin: 0 auto;\n padding: 1rem 2rem;\n display: flex;\n justify-content: space-between;\n align-items: center;\n}\n\n.logo {\n font-size: 1.5rem;\n font-weight: bold;\n background: linear-gradient(45deg, var(--primary), var(--secondary));\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n\n.nav-links a {\n margin-left: 2rem;\n text-decoration: none;\n color: var(--text);\n transition: color 0.3s ease;\n}\n\n.nav-links a:hover {\n color: var(--primary);\n}\n\nmain {\n margin-top: 4rem;\n}\n\n.hero {\n text-align: center;\n padding: 6rem 2rem;\n background: linear-gradient(135deg, #f6f8ff 0%, #f0f2ff 100%);\n}\n\n.hero h1 {\n font-size: 3rem;\n margin-bottom: 1rem;\n background: linear-gradient(45deg, var(--primary), var(--secondary));\n -webkit-background-clip: text;\n -webkit-text-fill-color: transparent;\n}\n\n.cta-button {\n display: inline-block;\n padding: 1rem 2rem;\n margin-top: 2rem;\n background: var(--primary);\n color: white;\n text-decoration: none;\n border-radius: 50px;\n transition: transform 0.3s ease;\n box-shadow: var(--shadow);\n}\n\n.cta-button:hover {\n transform: translateY(-2px);\n}\n\n.decision-tool {\n max-width: 800px;\n margin: 4rem auto;\n padding: 2rem;\n}\n\n.quiz-container {\n background: white;\n padding: 2rem;\n border-radius: 10px;\n box-shadow: var(--shadow);\n}\n\n.progress-bar {\n height: 4px;\n background: #eee;\n border-radius: 2px;\n margin-bottom: 2rem;\n}\n\n.progress {\n height: 100%;\n background: var(--primary);\n width: 0;\n transition: width 0.3s ease;\n}\n\n.question {\n text-align: center;\n}\n\n.options {\n display: grid;\n gap: 1rem;\n margin-top: 2rem;\n}\n\n.options button {\n padding: 1rem;\n border: none;\n background: #f8f9fa;\n border-radius: 5px;\n cursor: pointer;\n transition: all 0.3s ease;\n}\n\n.options button:hover {\n background: var(--primary);\n color: white;\n}\n\n.comparison {\n background: white;\n padding: 4rem 2rem;\n}\n\n.comparison h2 {\n text-align: center;\n margin-bottom: 3rem;\n}\n\n.comparison-grid {\n max-width: 1200px;\n margin: 0 auto;\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 2rem;\n}\n\n.comparison-card {\n padding: 2rem;\n border-radius: 10px;\n box-shadow: var(--shadow);\n transition: transform 0.3s ease;\n}\n\n.comparison-card:hover {\n transform: translateY(-5px);\n}\n\n.comparison-card.seo {\n background: linear-gradient(135deg, #e0e7ff 0%, #f0f2ff 100%);\n}\n\n.comparison-card.ppc {\n background: linear-gradient(135deg, #ffe0e0 0%, #fff0f0 100%);\n}\n\n.hidden {\n display: none;\n}\n\nfooter {\n background: white;\n padding: 2rem;\n margin-top: 4rem;\n}\n\n.footer-content {\n max-width: 1200px;\n margin: 0 auto;\n text-align: center;\n}\n\n@media (max-width: 768px) {\n .nav-links {\n display: none;\n }\n \n .hero h1 {\n font-size: 2rem;\n }\n \n .comparison-grid {\n grid-template-columns: 1fr;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n const questions = [\n {\n text: \"What's your primary goal?\",\n options: [\n { text: \"Long-term organic growth\", score: \"seo\" },\n { text: \"Immediate results\", score: \"ppc\" },\n { text: \"Both\", score: \"neutral\" }\n ]\n },\n {\n text: \"What's your monthly marketing budget?\",\n options: [\n { text: \"Less than $500\", score: \"seo\" },\n { text: \"More than $2000\", score: \"ppc\" },\n { text: \"$500-$2000\", score: \"neutral\" }\n ]\n },\n {\n text: \"How competitive is your industry?\",\n options: [\n { text: \"Very competitive\", score: \"ppc\" },\n { text: \"Moderately competitive\", score: \"neutral\" },\n { text: \"Not very competitive\", score: \"seo\" }\n ]\n }\n ];\n\n let currentQuestion = 0;\n let scores = { seo: 0, ppc: 0, neutral: 0 };\n\n const questionContainer = document.querySelector('.question-container');\n const progressBar = document.querySelector('.progress');\n const resultContainer = document.querySelector('.result-container');\n const resultDiv = document.querySelector('.result');\n const restartBtn = document.querySelector('.restart-btn');\n\n function showQuestion(index) {\n const question = questions[index];\n questionContainer.innerHTML = `\n
      \n

      ${question.text}

      \n
      \n ${question.options.map(option => `\n \n `).join('')}\n
      \n
      \n `;\n\n progressBar.style.width = `${((index + 1) / questions.length) * 100}%`;\n\n const optionButtons = questionContainer.querySelectorAll('button');\n optionButtons.forEach(button => {\n button.addEventListener('click', handleAnswer);\n });\n }\n\n function handleAnswer(e) {\n const score = e.target.dataset.score;\n scores[score]++;\n currentQuestion++;\n\n if (currentQuestion < questions.length) {\n showQuestion(currentQuestion);\n } else {\n showResult();\n }\n }\n\n function showResult() {\n questionContainer.classList.add('hidden');\n resultContainer.classList.remove('hidden');\n\n const recommendation = getRecommendation();\n resultDiv.innerHTML = `\n

      ${recommendation.title}

      \n

      ${recommendation.description}

      \n `;\n }\n\n function getRecommendation() {\n if (scores.seo > scores.ppc) {\n return {\n title: \"SEO is Your Best Choice!\",\n description: \"Based on your answers, focusing on SEO would be most beneficial for your website. This will help you build long-term organic traffic and sustainable growth.\"\n };\n } else if (scores.ppc > scores.seo) {\n return {\n title: \"PPC is Your Best Choice!\",\n description: \"Based on your answers, PPC would be most effective for your needs. This will help you achieve quick results and precise targeting.\"\n };\n } else {\n return {\n title: \"Consider a Hybrid Approach\",\n description: \"Based on your answers, a combination of both SEO and PPC would work best for your situation. This will give you both immediate results and long-term benefits.\"\n };\n }\n }\n\n restartBtn.addEventListener('click', () => {\n currentQuestion = 0;\n scores = { seo: 0, ppc: 0, neutral: 0 };\n resultContainer.classList.add('hidden');\n questionContainer.classList.remove('hidden');\n showQuestion(0);\n });\n\n showQuestion(0);\n});\n\n---end---"
      + }
      + ],
      + "stop_reason": "end_turn",
      + "stop_sequence": null,
      + "usage": {
      + "input_tokens": 284,
      + "cache_creation_input_tokens": 0,
      + "cache_read_input_tokens": 0,
      + "output_tokens": 3287
      + }
      + }
      readme.scroll
      Changed around line 1
      + # seovsppc.scroll.pub
      + Website generated by Claude from prompt: website to decide whether seo or ppc is better for a website
      script.js
      Changed around line 1
      + document.addEventListener('DOMContentLoaded', () => {
      + const questions = [
      + {
      + text: "What's your primary goal?",
      + options: [
      + { text: "Long-term organic growth", score: "seo" },
      + { text: "Immediate results", score: "ppc" },
      + { text: "Both", score: "neutral" }
      + ]
      + },
      + {
      + text: "What's your monthly marketing budget?",
      + options: [
      + { text: "Less than $500", score: "seo" },
      + { text: "More than $2000", score: "ppc" },
      + { text: "$500-$2000", score: "neutral" }
      + ]
      + },
      + {
      + text: "How competitive is your industry?",
      + options: [
      + { text: "Very competitive", score: "ppc" },
      + { text: "Moderately competitive", score: "neutral" },
      + { text: "Not very competitive", score: "seo" }
      + ]
      + }
      + ];
      +
      + let currentQuestion = 0;
      + let scores = { seo: 0, ppc: 0, neutral: 0 };
      +
      + const questionContainer = document.querySelector('.question-container');
      + const progressBar = document.querySelector('.progress');
      + const resultContainer = document.querySelector('.result-container');
      + const resultDiv = document.querySelector('.result');
      + const restartBtn = document.querySelector('.restart-btn');
      +
      + function showQuestion(index) {
      + const question = questions[index];
      + questionContainer.innerHTML = `
      +
      +

      ${question.text}

      +
      + ${question.options.map(option => `
      +
      + `).join('')}
      +
      +
      + `;
      +
      + progressBar.style.width = `${((index + 1) / questions.length) * 100}%`;
      +
      + const optionButtons = questionContainer.querySelectorAll('button');
      + optionButtons.forEach(button => {
      + button.addEventListener('click', handleAnswer);
      + });
      + }
      +
      + function handleAnswer(e) {
      + const score = e.target.dataset.score;
      + scores[score]++;
      + currentQuestion++;
      +
      + if (currentQuestion < questions.length) {
      + showQuestion(currentQuestion);
      + } else {
      + showResult();
      + }
      + }
      +
      + function showResult() {
      + questionContainer.classList.add('hidden');
      + resultContainer.classList.remove('hidden');
      +
      + const recommendation = getRecommendation();
      + resultDiv.innerHTML = `
      +

      ${recommendation.title}

      +

      ${recommendation.description}

      + `;
      + }
      +
      + function getRecommendation() {
      + if (scores.seo > scores.ppc) {
      + return {
      + title: "SEO is Your Best Choice!",
      + description: "Based on your answers, focusing on SEO would be most beneficial for your website. This will help you build long-term organic traffic and sustainable growth."
      + };
      + } else if (scores.ppc > scores.seo) {
      + return {
      + title: "PPC is Your Best Choice!",
      + description: "Based on your answers, PPC would be most effective for your needs. This will help you achieve quick results and precise targeting."
      + };
      + } else {
      + return {
      + title: "Consider a Hybrid Approach",
      + description: "Based on your answers, a combination of both SEO and PPC would work best for your situation. This will give you both immediate results and long-term benefits."
      + };
      + }
      + }
      +
      + restartBtn.addEventListener('click', () => {
      + currentQuestion = 0;
      + scores = { seo: 0, ppc: 0, neutral: 0 };
      + resultContainer.classList.add('hidden');
      + questionContainer.classList.remove('hidden');
      + showQuestion(0);
      + });
      +
      + showQuestion(0);
      + });
      style.css
      Changed around line 1
      + :root {
      + --primary: #2a6cff;
      + --secondary: #ff6b6b;
      + --background: #f8f9fa;
      + --text: #2d3436;
      + --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      + }
      +
      + * {
      + margin: 0;
      + padding: 0;
      + box-sizing: border-box;
      + }
      +
      + body {
      + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
      + line-height: 1.6;
      + color: var(--text);
      + background: var(--background);
      + }
      +
      + header {
      + position: fixed;
      + width: 100%;
      + top: 0;
      + background: white;
      + box-shadow: var(--shadow);
      + z-index: 1000;
      + }
      +
      + nav {
      + max-width: 1200px;
      + margin: 0 auto;
      + padding: 1rem 2rem;
      + display: flex;
      + justify-content: space-between;
      + align-items: center;
      + }
      +
      + .logo {
      + font-size: 1.5rem;
      + font-weight: bold;
      + background: linear-gradient(45deg, var(--primary), var(--secondary));
      + -webkit-background-clip: text;
      + -webkit-text-fill-color: transparent;
      + }
      +
      + .nav-links a {
      + margin-left: 2rem;
      + text-decoration: none;
      + color: var(--text);
      + transition: color 0.3s ease;
      + }
      +
      + .nav-links a:hover {
      + color: var(--primary);
      + }
      +
      + main {
      + margin-top: 4rem;
      + }
      +
      + .hero {
      + text-align: center;
      + padding: 6rem 2rem;
      + background: linear-gradient(135deg, #f6f8ff 0%, #f0f2ff 100%);
      + }
      +
      + .hero h1 {
      + font-size: 3rem;
      + margin-bottom: 1rem;
      + background: linear-gradient(45deg, var(--primary), var(--secondary));
      + -webkit-background-clip: text;
      + -webkit-text-fill-color: transparent;
      + }
      +
      + .cta-button {
      + display: inline-block;
      + padding: 1rem 2rem;
      + margin-top: 2rem;
      + background: var(--primary);
      + color: white;
      + text-decoration: none;
      + border-radius: 50px;
      + transition: transform 0.3s ease;
      + box-shadow: var(--shadow);
      + }
      +
      + .cta-button:hover {
      + transform: translateY(-2px);
      + }
      +
      + .decision-tool {
      + max-width: 800px;
      + margin: 4rem auto;
      + padding: 2rem;
      + }
      +
      + .quiz-container {
      + background: white;
      + padding: 2rem;
      + border-radius: 10px;
      + box-shadow: var(--shadow);
      + }
      +
      + .progress-bar {
      + height: 4px;
      + background: #eee;
      + border-radius: 2px;
      + margin-bottom: 2rem;
      + }
      +
      + .progress {
      + height: 100%;
      + background: var(--primary);
      + width: 0;
      + transition: width 0.3s ease;
      + }
      +
      + .question {
      + text-align: center;
      + }
      +
      + .options {
      + display: grid;
      + gap: 1rem;
      + margin-top: 2rem;
      + }
      +
      + .options button {
      + padding: 1rem;
      + border: none;
      + background: #f8f9fa;
      + border-radius: 5px;
      + cursor: pointer;
      + transition: all 0.3s ease;
      + }
      +
      + .options button:hover {
      + background: var(--primary);
      + color: white;
      + }
      +
      + .comparison {
      + background: white;
      + padding: 4rem 2rem;
      + }
      +
      + .comparison h2 {
      + text-align: center;
      + margin-bottom: 3rem;
      + }
      +
      + .comparison-grid {
      + max-width: 1200px;
      + margin: 0 auto;
      + display: grid;
      + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      + gap: 2rem;
      + }
      +
      + .comparison-card {
      + padding: 2rem;
      + border-radius: 10px;
      + box-shadow: var(--shadow);
      + transition: transform 0.3s ease;
      + }
      +
      + .comparison-card:hover {
      + transform: translateY(-5px);
      + }
      +
      + .comparison-card.seo {
      + background: linear-gradient(135deg, #e0e7ff 0%, #f0f2ff 100%);
      + }
      +
      + .comparison-card.ppc {
      + background: linear-gradient(135deg, #ffe0e0 0%, #fff0f0 100%);
      + }
      +
      + .hidden {
      + display: none;
      + }
      +
      + footer {
      + background: white;
      + padding: 2rem;
      + margin-top: 4rem;
      + }
      +
      + .footer-content {
      + max-width: 1200px;
      + margin: 0 auto;
      + text-align: center;
      + }
      +
      + @media (max-width: 768px) {
      + .nav-links {
      + display: none;
      + }
      +
      + .hero h1 {
      + font-size: 2rem;
      + }
      +
      + .comparison-grid {
      + grid-template-columns: 1fr;
      + }
      + }