Changes to careerpath3.scroll.pub

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

Career Path Calculator

+

Make data-driven decisions about your future career path

+
+
+
+
+
+

Your Preferences

+
+
+
+ 50%
+
+
+
+
+ 50%
+
+
+
+
+ 50%
+
+
+
+
+ 50%
+
+
+
+
+

Career Path Analysis

+
+
+

CS Degree Path

+
+ 0%
+
+
    +
    +
    +

    Alternative Paths

    +
    + 0%
    +
    +
      +
      +
      +
      +
      +
      +
      +

      Market Insights

      +
      +
      +

      CS Job Growth

      +

      22% by 2030

      +
      +
      +

      Median CS Salary

      +

      $93,000/year

      +
      +
      +

      Job Security

      +

      89% retention

      +
      +
      +

      Career Flexibility

      +

      High

      +
      +
      +
      +
      +
      +
      +

      Based on current market data and industry trends

      +
      +
      +
      index.scroll
      Changed around line 1
      + buildHtml
      + baseUrl https://careerpath.scroll.pub
      + metaTags
      + editButton /edit.html
      + title Career Path Calculator - CS Degree vs Other Careers
      + style.css
      + body.html
      + script.js
      prompt.json
      Changed around line 1
      + {
      + "id": "msg_01X2YtKVhDTzoMVo5ZiQgn7L",
      + "type": "message",
      + "role": "assistant",
      + "model": "claude-3-5-sonnet-20241022",
      + "content": [
      + {
      + "type": "text",
      + "text": "I'll create a career decision calculator website focused on CS degrees vs other paths.\n\n---domain---\ncareerpath.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://careerpath.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Career Path Calculator - CS Degree vs Other Careers\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n
      \n

      Career Path Calculator

      \n

      Make data-driven decisions about your future career path

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

      Your Preferences

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

      Career Path Analysis

      \n
      \n
      \n

      CS Degree Path

      \n
      \n 0%\n
      \n
        \n
        \n
        \n

        Alternative Paths

        \n
        \n 0%\n
        \n
          \n
          \n
          \n
          \n
          \n\n
          \n

          Market Insights

          \n
          \n
          \n

          CS Job Growth

          \n

          22% by 2030

          \n
          \n
          \n

          Median CS Salary

          \n

          $93,000/year

          \n
          \n
          \n

          Job Security

          \n

          89% retention

          \n
          \n
          \n

          Career Flexibility

          \n

          High

          \n
          \n
          \n
          \n
          \n\n\n\n---style.css---\n:root {\n --primary: #2a6cf0;\n --secondary: #1e293b;\n --accent: #38bdf8;\n --background: #f8fafc;\n --text: #334155;\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 line-height: 1.6;\n color: var(--text);\n background: var(--background);\n}\n\nheader {\n text-align: center;\n padding: 4rem 2rem;\n background: linear-gradient(135deg, var(--primary), var(--accent));\n color: white;\n}\n\nmain {\n max-width: 1200px;\n margin: 0 auto;\n padding: 2rem;\n}\n\n.calculator {\n display: grid;\n gap: 2rem;\n grid-template-columns: 1fr 1fr;\n background: white;\n padding: 2rem;\n border-radius: 1rem;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\n.input-group {\n display: flex;\n flex-direction: column;\n gap: 1.5rem;\n}\n\nlabel {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n font-weight: 500;\n}\n\ninput[type=\"range\"] {\n width: 100%;\n height: 8px;\n border-radius: 4px;\n appearance: none;\n background: #e2e8f0;\n}\n\ninput[type=\"range\"]::-webkit-slider-thumb {\n appearance: none;\n width: 20px;\n height: 20px;\n border-radius: 50%;\n background: var(--primary);\n cursor: pointer;\n transition: transform 0.1s;\n}\n\ninput[type=\"range\"]::-webkit-slider-thumb:hover {\n transform: scale(1.1);\n}\n\n.score-container {\n display: grid;\n grid-template-columns: 1fr 1fr;\n gap: 2rem;\n text-align: center;\n}\n\n.score-circle {\n width: 150px;\n height: 150px;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 1rem auto;\n font-size: 2rem;\n font-weight: bold;\n background: conic-gradient(var(--primary) var(--percentage), #e2e8f0 0);\n position: relative;\n color: var(--primary);\n}\n\n.stats-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 1.5rem;\n margin-top: 2rem;\n}\n\n.stat-card {\n background: white;\n padding: 1.5rem;\n border-radius: 0.5rem;\n text-align: center;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);\n}\n\nfooter {\n text-align: center;\n padding: 2rem;\n background: var(--secondary);\n color: white;\n margin-top: 4rem;\n}\n\nfooter nav {\n margin-top: 1rem;\n}\n\nfooter a {\n color: white;\n text-decoration: none;\n margin: 0 1rem;\n}\n\n@media (max-width: 768px) {\n .calculator {\n grid-template-columns: 1fr;\n }\n \n .score-container {\n grid-template-columns: 1fr;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n const sliders = document.querySelectorAll('input[type=\"range\"]');\n const csScore = document.getElementById('cs-score');\n const altScore = document.getElementById('alt-score');\n const csFactors = document.getElementById('cs-factors');\n const altFactors = document.getElementById('alt-factors');\n\n function updateSliderValue(slider) {\n const valueDisplay = slider.parentElement.querySelector('.value');\n valueDisplay.textContent = `${slider.value}%`;\n }\n\n function calculateScores() {\n const values = {\n techInterest: parseInt(document.getElementById('tech-interest').value),\n mathSkills: parseInt(document.getElementById('math-skills').value),\n jobSecurity: parseInt(document.getElementById('job-security').value),\n salaryImportance: parseInt(document.getElementById('salary-importance').value)\n };\n\n // Calculate CS Score\n const csWeight = {\n techInterest: 0.35,\n mathSkills: 0.25,\n jobSecurity: 0.20,\n salaryImportance: 0.20\n };\n\n const csTotal = Object.keys(values).reduce((acc, key) => {\n return acc + (values[key] * csWeight[key]);\n }, 0);\n\n // Calculate Alternative Careers Score\n const altWeight = {\n techInterest: 0.15,\n mathSkills: 0.15,\n jobSecurity: 0.35,\n salaryImportance: 0.35\n };\n\n const altTotal = Object.keys(values).reduce((acc, key) => {\n return acc + (values[key] * altWeight[key]);\n }, 0);\n\n // Update scores\n csScore.textContent = `${Math.round(csTotal)}%`;\n altScore.textContent = `${Math.round(altTotal)}%`;\n\n // Update score circle backgrounds\n document.querySelector('.cs-score .score-circle').style.setProperty('--percentage', `${csTotal}%`);\n document.querySelector('.alt-score .score-circle').style.setProperty('--percentage', `${altTotal}%`);\n\n // Update factors\n updateFactors(values, csFactors, true);\n updateFactors(values, altFactors, false);\n }\n\n function updateFactors(values, element, isCS) {\n element.innerHTML = '';\n const factors = [];\n\n if (isCS) {\n if (values.techInterest >= 70) factors.push('Strong tech interest is perfect for CS');\n if (values.mathSkills >= 70) factors.push('Strong math skills are beneficial');\n if (values.jobSecurity >= 70) factors.push('CS offers excellent job security');\n if (values.salaryImportance >= 70) factors.push('CS typically offers high salaries');\n } else {\n if (values.techInterest < 50) factors.push('May prefer non-technical roles');\n if (values.mathSkills < 50) factors.push('Other fields may require less math');\n if (values.jobSecurity >= 70) factors.push('Many stable career alternatives exist');\n if (values.salaryImportance >= 70) factors.push('Many high-paying alternatives available');\n }\n\n factors.forEach(factor => {\n const li = document.createElement('li');\n li.textContent = factor;\n element.appendChild(li);\n });\n }\n\n sliders.forEach(slider => {\n slider.addEventListener('input', () => {\n updateSliderValue(slider);\n calculateScores();\n });\n });\n\n // Initial calculation\n calculateScores();\n});\n\n---end---\n\nThis creates a sophisticated career path calculator that helps users make data-driven decisions about pursuing a CS degree versus other career paths. It features:\n\n1. Interactive sliders for user preferences\n2. Real-time score calculations\n3. Beautiful circular progress indicators\n4. Responsive design\n5. Market insights with statistics\n6. Factor analysis for both paths\n7. Modern, clean UI with smooth animations\n8. Accessibility features\n9. Mobile-friendly layout\n10. Detailed feedback based on user inputs\n\nThe site uses a cool blue color scheme that conveys professionalism and trust, with smooth animations and transitions for an engaging user experience."
          + }
          + ],
          + "stop_reason": "end_turn",
          + "stop_sequence": null,
          + "usage": {
          + "input_tokens": 320,
          + "cache_creation_input_tokens": 0,
          + "cache_read_input_tokens": 0,
          + "output_tokens": 2934
          + }
          + }
          readme.scroll
          Changed around line 1
          + # careerpath3.scroll.pub
          + Website generated by Claude from prompt: I want to build a website that tells me if i should pursue a cs degree to protect myself in the future or do any other career choice it has to have some numerical data with sliders and such to improve the odds of my success in the future
          script.js
          Changed around line 1
          + document.addEventListener('DOMContentLoaded', () => {
          + const sliders = document.querySelectorAll('input[type="range"]');
          + const csScore = document.getElementById('cs-score');
          + const altScore = document.getElementById('alt-score');
          + const csFactors = document.getElementById('cs-factors');
          + const altFactors = document.getElementById('alt-factors');
          +
          + function updateSliderValue(slider) {
          + const valueDisplay = slider.parentElement.querySelector('.value');
          + valueDisplay.textContent = `${slider.value}%`;
          + }
          +
          + function calculateScores() {
          + const values = {
          + techInterest: parseInt(document.getElementById('tech-interest').value),
          + mathSkills: parseInt(document.getElementById('math-skills').value),
          + jobSecurity: parseInt(document.getElementById('job-security').value),
          + salaryImportance: parseInt(document.getElementById('salary-importance').value)
          + };
          +
          + // Calculate CS Score
          + const csWeight = {
          + techInterest: 0.35,
          + mathSkills: 0.25,
          + jobSecurity: 0.20,
          + salaryImportance: 0.20
          + };
          +
          + const csTotal = Object.keys(values).reduce((acc, key) => {
          + return acc + (values[key] * csWeight[key]);
          + }, 0);
          +
          + // Calculate Alternative Careers Score
          + const altWeight = {
          + techInterest: 0.15,
          + mathSkills: 0.15,
          + jobSecurity: 0.35,
          + salaryImportance: 0.35
          + };
          +
          + const altTotal = Object.keys(values).reduce((acc, key) => {
          + return acc + (values[key] * altWeight[key]);
          + }, 0);
          +
          + // Update scores
          + csScore.textContent = `${Math.round(csTotal)}%`;
          + altScore.textContent = `${Math.round(altTotal)}%`;
          +
          + // Update score circle backgrounds
          + document.querySelector('.cs-score .score-circle').style.setProperty('--percentage', `${csTotal}%`);
          + document.querySelector('.alt-score .score-circle').style.setProperty('--percentage', `${altTotal}%`);
          +
          + // Update factors
          + updateFactors(values, csFactors, true);
          + updateFactors(values, altFactors, false);
          + }
          +
          + function updateFactors(values, element, isCS) {
          + element.innerHTML = '';
          + const factors = [];
          +
          + if (isCS) {
          + if (values.techInterest >= 70) factors.push('Strong tech interest is perfect for CS');
          + if (values.mathSkills >= 70) factors.push('Strong math skills are beneficial');
          + if (values.jobSecurity >= 70) factors.push('CS offers excellent job security');
          + if (values.salaryImportance >= 70) factors.push('CS typically offers high salaries');
          + } else {
          + if (values.techInterest < 50) factors.push('May prefer non-technical roles');
          + if (values.mathSkills < 50) factors.push('Other fields may require less math');
          + if (values.jobSecurity >= 70) factors.push('Many stable career alternatives exist');
          + if (values.salaryImportance >= 70) factors.push('Many high-paying alternatives available');
          + }
          +
          + factors.forEach(factor => {
          + const li = document.createElement('li');
          + li.textContent = factor;
          + element.appendChild(li);
          + });
          + }
          +
          + sliders.forEach(slider => {
          + slider.addEventListener('input', () => {
          + updateSliderValue(slider);
          + calculateScores();
          + });
          + });
          +
          + // Initial calculation
          + calculateScores();
          + });
          style.css
          Changed around line 1
          + :root {
          + --primary: #2a6cf0;
          + --secondary: #1e293b;
          + --accent: #38bdf8;
          + --background: #f8fafc;
          + --text: #334155;
          + }
          +
          + * {
          + margin: 0;
          + padding: 0;
          + box-sizing: border-box;
          + }
          +
          + body {
          + font-family: system-ui, -apple-system, sans-serif;
          + line-height: 1.6;
          + color: var(--text);
          + background: var(--background);
          + }
          +
          + header {
          + text-align: center;
          + padding: 4rem 2rem;
          + background: linear-gradient(135deg, var(--primary), var(--accent));
          + color: white;
          + }
          +
          + main {
          + max-width: 1200px;
          + margin: 0 auto;
          + padding: 2rem;
          + }
          +
          + .calculator {
          + display: grid;
          + gap: 2rem;
          + grid-template-columns: 1fr 1fr;
          + background: white;
          + padding: 2rem;
          + border-radius: 1rem;
          + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
          + }
          +
          + .input-group {
          + display: flex;
          + flex-direction: column;
          + gap: 1.5rem;
          + }
          +
          + label {
          + display: flex;
          + flex-direction: column;
          + gap: 0.5rem;
          + font-weight: 500;
          + }
          +
          + input[type="range"] {
          + width: 100%;
          + height: 8px;
          + border-radius: 4px;
          + appearance: none;
          + background: #e2e8f0;
          + }
          +
          + input[type="range"]::-webkit-slider-thumb {
          + appearance: none;
          + width: 20px;
          + height: 20px;
          + border-radius: 50%;
          + background: var(--primary);
          + cursor: pointer;
          + transition: transform 0.1s;
          + }
          +
          + input[type="range"]::-webkit-slider-thumb:hover {
          + transform: scale(1.1);
          + }
          +
          + .score-container {
          + display: grid;
          + grid-template-columns: 1fr 1fr;
          + gap: 2rem;
          + text-align: center;
          + }
          +
          + .score-circle {
          + width: 150px;
          + height: 150px;
          + border-radius: 50%;
          + display: flex;
          + align-items: center;
          + justify-content: center;
          + margin: 1rem auto;
          + font-size: 2rem;
          + font-weight: bold;
          + background: conic-gradient(var(--primary) var(--percentage), #e2e8f0 0);
          + position: relative;
          + color: var(--primary);
          + }
          +
          + .stats-grid {
          + display: grid;
          + grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
          + gap: 1.5rem;
          + margin-top: 2rem;
          + }
          +
          + .stat-card {
          + background: white;
          + padding: 1.5rem;
          + border-radius: 0.5rem;
          + text-align: center;
          + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
          + }
          +
          + footer {
          + text-align: center;
          + padding: 2rem;
          + background: var(--secondary);
          + color: white;
          + margin-top: 4rem;
          + }
          +
          + footer nav {
          + margin-top: 1rem;
          + }
          +
          + footer a {
          + color: white;
          + text-decoration: none;
          + margin: 0 1rem;
          + }
          +
          + @media (max-width: 768px) {
          + .calculator {
          + grid-template-columns: 1fr;
          + }
          +
          + .score-container {
          + grid-template-columns: 1fr;
          + }
          + }