Changes to aivcrypto.scroll.pub

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

AI vs Crypto: Which Path Will You Choose?

+

Explore the potential returns and risks of investing in AI technology versus cryptocurrency.

+
+
+
+
+

Artificial Intelligence

+
    +
  • Stable industry growth
  • +
  • Tangible real-world applications
  • +
  • Backed by major tech companies
  • +
  • Multiple revenue streams
  • +
  • Lower volatility
  • +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +

    Cryptocurrency

    +
      +
    • Potential high returns
    • +
    • Decentralized finance
    • +
    • 24/7 trading
    • +
    • Portfolio diversification
    • +
    • High volatility
    • +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +

      Investment Calculator

      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +
      +

      Built with knowledge and data. Updated

      +
      index.scroll
      Changed around line 1
      + buildHtml
      + baseUrl https://aivcrypto.scroll.pub
      + metaTags
      + editButton /edit.html
      + title AI vs Crypto: Making Smart Investment Choices
      + style.css
      + body.html
      + script.js
      prompt.json
      Changed around line 1
      + {
      + "id": "msg_01Wzdbx474tJPcZHg2Qr2y9T",
      + "type": "message",
      + "role": "assistant",
      + "model": "claude-3-5-sonnet-20241022",
      + "content": [
      + {
      + "type": "text",
      + "text": "Let me create a website comparing AI and crypto investing with an interactive component.\n\n---domain---\naivcrypto.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://aivcrypto.scroll.pub\nmetaTags\neditButton /edit.html\ntitle AI vs Crypto: Making Smart Investment Choices\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n
      \n \n
      \n\n
      \n
      \n

      AI vs Crypto: Which Path Will You Choose?

      \n

      Explore the potential returns and risks of investing in AI technology versus cryptocurrency.

      \n
      \n\n
      \n
      \n

      Artificial Intelligence

      \n
        \n
      • Stable industry growth
      • \n
      • Tangible real-world applications
      • \n
      • Backed by major tech companies
      • \n
      • Multiple revenue streams
      • \n
      • Lower volatility
      • \n
      \n
      \n \n
      \n
      \n
      \n
      \n
      \n\n
      \n

      Cryptocurrency

      \n
        \n
      • Potential high returns
      • \n
      • Decentralized finance
      • \n
      • 24/7 trading
      • \n
      • Portfolio diversification
      • \n
      • High volatility
      • \n
      \n
      \n \n
      \n
      \n
      \n
      \n
      \n
      \n\n
      \n

      Investment Calculator

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

      Built with knowledge and data. Updated

      \n
      \n\n---style.css---\n:root {\n --primary: #2a6bc4;\n --secondary: #f7931a;\n --background: #ffffff;\n --text: #333333;\n --card-bg: #f5f5f5;\n --shadow: rgba(0, 0, 0, 0.1);\n}\n\n[data-theme=\"dark\"] {\n --background: #1a1a1a;\n --text: #ffffff;\n --card-bg: #2d2d2d;\n --shadow: rgba(255, 255, 255, 0.1);\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: system-ui, -apple-system, sans-serif;\n background: var(--background);\n color: var(--text);\n line-height: 1.6;\n transition: background-color 0.3s ease;\n}\n\nheader {\n padding: 1rem;\n background: rgba(255, 255, 255, 0.1);\n backdrop-filter: blur(10px);\n position: sticky;\n top: 0;\n z-index: 100;\n}\n\nnav {\n display: flex;\n justify-content: space-between;\n align-items: center;\n max-width: 1200px;\n margin: 0 auto;\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 background-clip: text;\n color: transparent;\n}\n\n#themeToggle {\n background: none;\n border: none;\n font-size: 1.5rem;\n cursor: pointer;\n padding: 0.5rem;\n}\n\nmain {\n max-width: 1200px;\n margin: 0 auto;\n padding: 2rem;\n}\n\n.hero {\n text-align: center;\n margin: 3rem 0;\n}\n\nh1 {\n font-size: 3rem;\n margin-bottom: 1rem;\n background: linear-gradient(45deg, var(--primary), var(--secondary));\n -webkit-background-clip: text;\n background-clip: text;\n color: transparent;\n}\n\n.comparison {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));\n gap: 2rem;\n margin: 3rem 0;\n}\n\n.card {\n background: var(--card-bg);\n padding: 2rem;\n border-radius: 1rem;\n box-shadow: 0 4px 6px var(--shadow);\n transition: transform 0.3s ease;\n}\n\n.card:hover {\n transform: translateY(-5px);\n}\n\n.ai {\n border-top: 5px solid var(--primary);\n}\n\n.crypto {\n border-top: 5px solid var(--secondary);\n}\n\n.benefits {\n list-style: none;\n margin: 1.5rem 0;\n}\n\n.benefits li {\n margin: 0.5rem 0;\n padding-left: 1.5rem;\n position: relative;\n}\n\n.benefits li::before {\n content: \"→\";\n position: absolute;\n left: 0;\n color: var(--primary);\n}\n\n.meter {\n height: 20px;\n background: var(--background);\n border-radius: 10px;\n overflow: hidden;\n margin-top: 0.5rem;\n}\n\n.meter-fill {\n height: 100%;\n width: 0;\n transition: width 1s ease;\n}\n\n.ai .meter-fill {\n background: var(--primary);\n}\n\n.crypto .meter-fill {\n background: var(--secondary);\n}\n\n.calculator {\n background: var(--card-bg);\n padding: 2rem;\n border-radius: 1rem;\n margin: 2rem 0;\n}\n\n.input-group {\n margin: 1rem 0;\n}\n\ninput {\n width: 100%;\n padding: 0.5rem;\n border: 1px solid var(--shadow);\n border-radius: 0.5rem;\n background: var(--background);\n color: var(--text);\n}\n\nbutton {\n background: var(--primary);\n color: white;\n border: none;\n padding: 1rem 2rem;\n border-radius: 0.5rem;\n cursor: pointer;\n transition: transform 0.3s ease;\n}\n\nbutton:hover {\n transform: scale(1.05);\n}\n\n.results {\n margin-top: 1rem;\n padding: 1rem;\n border-radius: 0.5rem;\n background: var(--background);\n}\n\nfooter {\n text-align: center;\n padding: 2rem;\n margin-top: 3rem;\n border-top: 1px solid var(--shadow);\n}\n\n@media (max-width: 768px) {\n h1 {\n font-size: 2rem;\n }\n \n .comparison {\n grid-template-columns: 1fr;\n }\n \n main {\n padding: 1rem;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Theme Toggle\n const themeToggle = document.getElementById('themeToggle');\n const prefersDark = window.matchMedia('(prefers-color-scheme: dark)');\n \n function setTheme(isDark) {\n document.documentElement.setAttribute('data-theme', isDark ? 'dark' : 'light');\n themeToggle.textContent = isDark ? '☀️' : '🌑';\n }\n \n setTheme(prefersDark.matches);\n \n themeToggle.addEventListener('click', () => {\n const isDark = document.documentElement.getAttribute('data-theme') === 'dark';\n setTheme(!isDark);\n });\n\n // Confidence Meters Animation\n const aiMeter = document.getElementById('aiMeter');\n const cryptoMeter = document.getElementById('cryptoMeter');\n \n setTimeout(() => {\n aiMeter.style.width = '85%';\n cryptoMeter.style.width = '65%';\n }, 500);\n\n // Investment Calculator\n const calculator = {\n aiReturn: 0.15, // 15% annual return\n cryptoReturn: 0.25, // 25% annual return\n cryptoVolatility: 0.5, // 50% volatility\n \n calculate(initial, years) {\n const aiValue = initial * Math.pow(1 + this.aiReturn, years);\n const cryptoValue = initial * Math.pow(1 + this.cryptoReturn, years);\n const cryptoLow = cryptoValue * (1 - this.cryptoVolatility);\n const cryptoHigh = cryptoValue * (1 + this.cryptoVolatility);\n \n return {\n ai: aiValue.toFixed(2),\n cryptoLow: cryptoLow.toFixed(2),\n cryptoHigh: cryptoHigh.toFixed(2)\n };\n }\n };\n\n const calculateBtn = document.getElementById('calculate');\n const results = document.getElementById('results');\n \n calculateBtn.addEventListener('click', () => {\n const investment = parseFloat(document.getElementById('investment').value);\n const years = parseInt(document.getElementById('years').value);\n \n if (investment && years) {\n const returns = calculator.calculate(investment, years);\n results.innerHTML = `\n

      Projected Returns After ${years} Years:

      \n

      AI Investment: $${returns.ai}

      \n

      Crypto Investment Range:

      \n

      Low: $${returns.cryptoLow}

      \n

      High: $${returns.cryptoHigh}

      \n `;\n }\n });\n});\n\n---end---\n\nThis website features:\n1. Dark/light mode toggle\n2. Animated confidence meters\n3. Interactive investment calculator\n4. Responsive design\n5. Modern gradient effects\n6. Smooth animations and transitions\n7. Clean, accessible semantic HTML\n8. Professional typography and spacing\n9. Card-based layout\n10. Mobile-first approach\n\nThe calculator provides a simple way to compare potential returns between AI and crypto investments, while the confidence meters give a visual representation of current market sentiment. The design is clean and professional while maintaining visual interest through subtle animations and color gradients."
      + }
      + ],
      + "stop_reason": "end_turn",
      + "stop_sequence": null,
      + "usage": {
      + "input_tokens": 290,
      + "cache_creation_input_tokens": 0,
      + "cache_read_input_tokens": 0,
      + "output_tokens": 3000
      + }
      + }
      readme.scroll
      Changed around line 1
      + # aivcrypto.scroll.pub
      + Website generated by Claude from prompt: Create me a website talking about the benefits of AI versus being a cryptobro. Make it interactive
      script.js
      Changed around line 1
      + document.addEventListener('DOMContentLoaded', () => {
      + // Theme Toggle
      + const themeToggle = document.getElementById('themeToggle');
      + const prefersDark = window.matchMedia('(prefers-color-scheme: dark)');
      +
      + function setTheme(isDark) {
      + document.documentElement.setAttribute('data-theme', isDark ? 'dark' : 'light');
      + themeToggle.textContent = isDark ? '☀️' : '🌑';
      + }
      +
      + setTheme(prefersDark.matches);
      +
      + themeToggle.addEventListener('click', () => {
      + const isDark = document.documentElement.getAttribute('data-theme') === 'dark';
      + setTheme(!isDark);
      + });
      +
      + // Confidence Meters Animation
      + const aiMeter = document.getElementById('aiMeter');
      + const cryptoMeter = document.getElementById('cryptoMeter');
      +
      + setTimeout(() => {
      + aiMeter.style.width = '85%';
      + cryptoMeter.style.width = '65%';
      + }, 500);
      +
      + // Investment Calculator
      + const calculator = {
      + aiReturn: 0.15, // 15% annual return
      + cryptoReturn: 0.25, // 25% annual return
      + cryptoVolatility: 0.5, // 50% volatility
      +
      + calculate(initial, years) {
      + const aiValue = initial * Math.pow(1 + this.aiReturn, years);
      + const cryptoValue = initial * Math.pow(1 + this.cryptoReturn, years);
      + const cryptoLow = cryptoValue * (1 - this.cryptoVolatility);
      + const cryptoHigh = cryptoValue * (1 + this.cryptoVolatility);
      +
      + return {
      + ai: aiValue.toFixed(2),
      + cryptoLow: cryptoLow.toFixed(2),
      + cryptoHigh: cryptoHigh.toFixed(2)
      + };
      + }
      + };
      +
      + const calculateBtn = document.getElementById('calculate');
      + const results = document.getElementById('results');
      +
      + calculateBtn.addEventListener('click', () => {
      + const investment = parseFloat(document.getElementById('investment').value);
      + const years = parseInt(document.getElementById('years').value);
      +
      + if (investment && years) {
      + const returns = calculator.calculate(investment, years);
      + results.innerHTML = `
      +

      Projected Returns After ${years} Years:

      +

      AI Investment: $${returns.ai}

      +

      Crypto Investment Range:

      +

      Low: $${returns.cryptoLow}

      +

      High: $${returns.cryptoHigh}

      + `;
      + }
      + });
      + });
      style.css
      Changed around line 1
      + :root {
      + --primary: #2a6bc4;
      + --secondary: #f7931a;
      + --background: #ffffff;
      + --text: #333333;
      + --card-bg: #f5f5f5;
      + --shadow: rgba(0, 0, 0, 0.1);
      + }
      +
      + [data-theme="dark"] {
      + --background: #1a1a1a;
      + --text: #ffffff;
      + --card-bg: #2d2d2d;
      + --shadow: rgba(255, 255, 255, 0.1);
      + }
      +
      + * {
      + margin: 0;
      + padding: 0;
      + box-sizing: border-box;
      + }
      +
      + body {
      + font-family: system-ui, -apple-system, sans-serif;
      + background: var(--background);
      + color: var(--text);
      + line-height: 1.6;
      + transition: background-color 0.3s ease;
      + }
      +
      + header {
      + padding: 1rem;
      + background: rgba(255, 255, 255, 0.1);
      + backdrop-filter: blur(10px);
      + position: sticky;
      + top: 0;
      + z-index: 100;
      + }
      +
      + nav {
      + display: flex;
      + justify-content: space-between;
      + align-items: center;
      + max-width: 1200px;
      + margin: 0 auto;
      + }
      +
      + .logo {
      + font-size: 1.5rem;
      + font-weight: bold;
      + background: linear-gradient(45deg, var(--primary), var(--secondary));
      + -webkit-background-clip: text;
      + background-clip: text;
      + color: transparent;
      + }
      +
      + #themeToggle {
      + background: none;
      + border: none;
      + font-size: 1.5rem;
      + cursor: pointer;
      + padding: 0.5rem;
      + }
      +
      + main {
      + max-width: 1200px;
      + margin: 0 auto;
      + padding: 2rem;
      + }
      +
      + .hero {
      + text-align: center;
      + margin: 3rem 0;
      + }
      +
      + h1 {
      + font-size: 3rem;
      + margin-bottom: 1rem;
      + background: linear-gradient(45deg, var(--primary), var(--secondary));
      + -webkit-background-clip: text;
      + background-clip: text;
      + color: transparent;
      + }
      +
      + .comparison {
      + display: grid;
      + grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      + gap: 2rem;
      + margin: 3rem 0;
      + }
      +
      + .card {
      + background: var(--card-bg);
      + padding: 2rem;
      + border-radius: 1rem;
      + box-shadow: 0 4px 6px var(--shadow);
      + transition: transform 0.3s ease;
      + }
      +
      + .card:hover {
      + transform: translateY(-5px);
      + }
      +
      + .ai {
      + border-top: 5px solid var(--primary);
      + }
      +
      + .crypto {
      + border-top: 5px solid var(--secondary);
      + }
      +
      + .benefits {
      + list-style: none;
      + margin: 1.5rem 0;
      + }
      +
      + .benefits li {
      + margin: 0.5rem 0;
      + padding-left: 1.5rem;
      + position: relative;
      + }
      +
      + .benefits li::before {
      + content: "→";
      + position: absolute;
      + left: 0;
      + color: var(--primary);
      + }
      +
      + .meter {
      + height: 20px;
      + background: var(--background);
      + border-radius: 10px;
      + overflow: hidden;
      + margin-top: 0.5rem;
      + }
      +
      + .meter-fill {
      + height: 100%;
      + width: 0;
      + transition: width 1s ease;
      + }
      +
      + .ai .meter-fill {
      + background: var(--primary);
      + }
      +
      + .crypto .meter-fill {
      + background: var(--secondary);
      + }
      +
      + .calculator {
      + background: var(--card-bg);
      + padding: 2rem;
      + border-radius: 1rem;
      + margin: 2rem 0;
      + }
      +
      + .input-group {
      + margin: 1rem 0;
      + }
      +
      + input {
      + width: 100%;
      + padding: 0.5rem;
      + border: 1px solid var(--shadow);
      + border-radius: 0.5rem;
      + background: var(--background);
      + color: var(--text);
      + }
      +
      + button {
      + background: var(--primary);
      + color: white;
      + border: none;
      + padding: 1rem 2rem;
      + border-radius: 0.5rem;
      + cursor: pointer;
      + transition: transform 0.3s ease;
      + }
      +
      + button:hover {
      + transform: scale(1.05);
      + }
      +
      + .results {
      + margin-top: 1rem;
      + padding: 1rem;
      + border-radius: 0.5rem;
      + background: var(--background);
      + }
      +
      + footer {
      + text-align: center;
      + padding: 2rem;
      + margin-top: 3rem;
      + border-top: 1px solid var(--shadow);
      + }
      +
      + @media (max-width: 768px) {
      + h1 {
      + font-size: 2rem;
      + }
      +
      + .comparison {
      + grid-template-columns: 1fr;
      + }
      +
      + main {
      + padding: 1rem;
      + }
      + }