Changes to degree-finder.scroll.pub

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

Find Your Perfect Degree Path

+

Discover the academic discipline that aligns with your interests and goals

+
+
+
+

Degree Assessment

+
+
+

What interests you most?

+
+
+
+
+
+
+
+
+

Your Recommended Paths

+
+
+
+
+
+
+
+

Academic Disciplines

+
+
+

STEM

+
    +
  • Computer Science
  • +
  • Engineering
  • +
  • Mathematics
  • +
  • Biology
  • +
    +
    +
    +

    Arts & Humanities

    +
      +
    • Literature
    • +
    • Philosophy
    • +
    • Fine Arts
    • +
    • History
    • +
      +
      +
      +

      Business

      +
        +
      • Finance
      • +
      • Marketing
      • +
      • Management
      • +
      • Economics
      • +
        +
        +
        +

        Social Sciences

        +
          +
        • Psychology
        • +
        • Sociology
        • +
        • Political Science
        • +
        • Anthropology
        • +
          +
          +
          +
          +
          +
          +
          +
          +

          DegreeFinder - Helping students find their academic path

          +
          +
          +
          +
          index.scroll
          Changed around line 1
          + buildHtml
          + baseUrl https://degree-finder.scroll.pub
          + metaTags
          + description Find your ideal college degree and discipline through an interactive assessment tool
          + keywords college degree, university major, academic discipline, career path, education planning
          + editButton /edit.html
          + title Degree Finder | Discover Your Academic Path
          + style.css
          + body.html
          + script.js
          prompt.json
          Changed around line 1
          + {
          + "id": "msg_01JLtRaC12jwv8Zey2cqUZ6j",
          + "type": "message",
          + "role": "assistant",
          + "model": "claude-3-5-sonnet-20241022",
          + "content": [
          + {
          + "type": "text",
          + "text": "Here's a website that helps users approximate college degrees and disciplines based on their interests and goals:\n\n---domain---\ndegree-finder.scroll.pub\n\n---index.scroll---\nbuildHtml\nbaseUrl https://degree-finder.scroll.pub\nmetaTags\n description Find your ideal college degree and discipline through an interactive assessment tool\n keywords college degree, university major, academic discipline, career path, education planning\neditButton /edit.html\ntitle Degree Finder | Discover Your Academic Path\nstyle.css\nbody.html\nscript.js\n\n---body.html---\n
          \n \n
          \n\n
          \n
          \n

          Find Your Perfect Degree Path

          \n

          Discover the academic discipline that aligns with your interests and goals

          \n Start Assessment\n
          \n\n
          \n

          Degree Assessment

          \n
          \n
          \n

          What interests you most?

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

          Your Recommended Paths

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

          Academic Disciplines

          \n
          \n
          \n

          STEM

          \n
            \n
          • Computer Science
          • \n
          • Engineering
          • \n
          • Mathematics
          • \n
          • Biology
          • \n
          \n
          \n
          \n

          Arts & Humanities

          \n
            \n
          • Literature
          • \n
          • Philosophy
          • \n
          • Fine Arts
          • \n
          • History
          • \n
          \n
          \n
          \n

          Business

          \n
            \n
          • Finance
          • \n
          • Marketing
          • \n
          • Management
          • \n
          • Economics
          • \n
          \n
          \n
          \n

          Social Sciences

          \n
            \n
          • Psychology
          • \n
          • Sociology
          • \n
          • Political Science
          • \n
          • Anthropology
          • \n
          \n
          \n
          \n
          \n
          \n\n\n\n---style.css---\n:root {\n --primary: #2c3e50;\n --secondary: #3498db;\n --accent: #e74c3c;\n --light: #ecf0f1;\n --dark: #2c3e50;\n --transition: all 0.3s ease;\n}\n\n* {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n}\n\nbody {\n font-family: 'Segoe UI', system-ui, sans-serif;\n line-height: 1.6;\n color: var(--dark);\n background: var(--light);\n}\n\n/* Header & Navigation */\nheader {\n background: var(--primary);\n padding: 1rem;\n position: fixed;\n width: 100%;\n top: 0;\n z-index: 1000;\n box-shadow: 0 2px 10px rgba(0,0,0,0.1);\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 color: white;\n font-size: 1.5rem;\n font-weight: bold;\n}\n\n.nav-links {\n display: flex;\n list-style: none;\n gap: 2rem;\n}\n\n.nav-links a {\n color: white;\n text-decoration: none;\n transition: var(--transition);\n}\n\n.nav-links a:hover {\n color: var(--secondary);\n}\n\n.menu-toggle {\n display: none;\n}\n\n/* Hero Section */\n.hero {\n height: 100vh;\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n text-align: center;\n padding: 2rem;\n background: linear-gradient(135deg, var(--primary), var(--secondary));\n color: white;\n}\n\n.hero h1 {\n font-size: 3rem;\n margin-bottom: 1rem;\n animation: fadeIn 1s ease-out;\n}\n\n.cta-button {\n display: inline-block;\n padding: 1rem 2rem;\n background: var(--accent);\n color: white;\n text-decoration: none;\n border-radius: 50px;\n margin-top: 2rem;\n transition: var(--transition);\n}\n\n.cta-button:hover {\n transform: translateY(-3px);\n box-shadow: 0 5px 15px rgba(0,0,0,0.2);\n}\n\n/* Quiz Section */\n.quiz-section {\n padding: 5rem 2rem;\n max-width: 800px;\n margin: 0 auto;\n}\n\n.quiz-container {\n background: white;\n padding: 2rem;\n border-radius: 10px;\n box-shadow: 0 5px 20px rgba(0,0,0,0.1);\n}\n\n.options {\n display: grid;\n gap: 1rem;\n margin-top: 2rem;\n}\n\n.option {\n padding: 1rem;\n border: none;\n background: var(--light);\n border-radius: 5px;\n cursor: pointer;\n transition: var(--transition);\n}\n\n.option:hover {\n background: var(--secondary);\n color: white;\n}\n\n/* Disciplines Section */\n.disciplines-section {\n padding: 5rem 2rem;\n background: white;\n}\n\n.discipline-grid {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));\n gap: 2rem;\n max-width: 1200px;\n margin: 2rem auto;\n}\n\n.discipline-card {\n background: var(--light);\n padding: 2rem;\n border-radius: 10px;\n transition: var(--transition);\n}\n\n.discipline-card:hover {\n transform: translateY(-5px);\n box-shadow: 0 5px 15px rgba(0,0,0,0.1);\n}\n\n/* Animations */\n@keyframes fadeIn {\n from { opacity: 0; transform: translateY(20px); }\n to { opacity: 1; transform: translateY(0); }\n}\n\n/* Mobile Responsiveness */\n@media (max-width: 768px) {\n .menu-toggle {\n display: block;\n background: none;\n border: none;\n cursor: pointer;\n }\n\n .menu-toggle span {\n display: block;\n width: 25px;\n height: 3px;\n background: white;\n margin: 5px 0;\n transition: var(--transition);\n }\n\n .nav-links {\n display: none;\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n background: var(--primary);\n flex-direction: column;\n padding: 1rem;\n text-align: center;\n }\n\n .nav-links.active {\n display: flex;\n }\n\n .hero h1 {\n font-size: 2rem;\n }\n}\n\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n // Mobile menu toggle\n const menuToggle = document.querySelector('.menu-toggle');\n const navLinks = document.querySelector('.nav-links');\n \n menuToggle?.addEventListener('click', () => {\n navLinks.classList.toggle('active');\n const spans = menuToggle.querySelectorAll('span');\n spans[0].style.transform = navLinks.classList.contains('active') ? 'rotate(45deg) translate(5px, 5px)' : '';\n spans[1].style.opacity = navLinks.classList.contains('active') ? '0' : '1';\n spans[2].style.transform = navLinks.classList.contains('active') ? 'rotate(-45deg) translate(7px, -7px)' : '';\n });\n\n // Quiz functionality\n const questionContainer = document.getElementById('question-container');\n const results = document.getElementById('results');\n const resultsContent = document.querySelector('.results-content');\n const restartButton = document.querySelector('.restart-button');\n \n const degreeRecommendations = {\n stem: ['Computer Science', 'Engineering', 'Mathematics', 'Physics'],\n arts: ['Fine Arts', 'Literature', 'Philosophy', 'Music'],\n business: ['Business Administration', 'Finance', 'Marketing', 'Economics'],\n social: ['Psychology', 'Sociology', 'Political Science', 'Anthropology']\n };\n\n document.querySelectorAll('.option').forEach(button => {\n button.addEventListener('click', () => {\n const field = button.dataset.field;\n showResults(field);\n });\n });\n\n function showResults(field) {\n questionContainer.style.display = 'none';\n results.classList.remove('hidden');\n \n const recommendations = degreeRecommendations[field];\n resultsContent.innerHTML = `\n

          Based on your interests, here are some recommended degrees:

          \n
            \n ${recommendations.map(degree => `
          • ${degree}
          • `).join('')}\n
          \n `;\n }\n\n restartButton?.addEventListener('click', () => {\n questionContainer.style.display = 'block';\n results.classList.add('hidden');\n });\n\n // Smooth scrolling for anchor links\n document.querySelectorAll('a[href^=\"#\"]').forEach(anchor => {\n anchor.addEventListener('click', function (e) {\n e.preventDefault();\n const target = document.querySelector(this.getAttribute('href'));\n if (target) {\n target.scrollIntoView({\n behavior: 'smooth'\n });\n }\n });\n });\n});\n\n---end---"
          + }
          + ],
          + "stop_reason": "end_turn",
          + "stop_sequence": null,
          + "usage": {
          + "input_tokens": 275,
          + "cache_creation_input_tokens": 0,
          + "cache_read_input_tokens": 0,
          + "output_tokens": 3048
          + }
          + }
          readme.scroll
          Changed around line 1
          + # degree-finder.scroll.pub
          + Website generated by Claude from prompt: approximate college degree and discipline
          script.js
          Changed around line 1
          + document.addEventListener('DOMContentLoaded', () => {
          + // Mobile menu toggle
          + const menuToggle = document.querySelector('.menu-toggle');
          + const navLinks = document.querySelector('.nav-links');
          +
          + menuToggle?.addEventListener('click', () => {
          + navLinks.classList.toggle('active');
          + const spans = menuToggle.querySelectorAll('span');
          + spans[0].style.transform = navLinks.classList.contains('active') ? 'rotate(45deg) translate(5px, 5px)' : '';
          + spans[1].style.opacity = navLinks.classList.contains('active') ? '0' : '1';
          + spans[2].style.transform = navLinks.classList.contains('active') ? 'rotate(-45deg) translate(7px, -7px)' : '';
          + });
          +
          + // Quiz functionality
          + const questionContainer = document.getElementById('question-container');
          + const results = document.getElementById('results');
          + const resultsContent = document.querySelector('.results-content');
          + const restartButton = document.querySelector('.restart-button');
          +
          + const degreeRecommendations = {
          + stem: ['Computer Science', 'Engineering', 'Mathematics', 'Physics'],
          + arts: ['Fine Arts', 'Literature', 'Philosophy', 'Music'],
          + business: ['Business Administration', 'Finance', 'Marketing', 'Economics'],
          + social: ['Psychology', 'Sociology', 'Political Science', 'Anthropology']
          + };
          +
          + document.querySelectorAll('.option').forEach(button => {
          + button.addEventListener('click', () => {
          + const field = button.dataset.field;
          + showResults(field);
          + });
          + });
          +
          + function showResults(field) {
          + questionContainer.style.display = 'none';
          + results.classList.remove('hidden');
          +
          + const recommendations = degreeRecommendations[field];
          + resultsContent.innerHTML = `
          +

          Based on your interests, here are some recommended degrees:

          +
            + ${recommendations.map(degree => `
          • ${degree}
          • `).join('')}
            +
            + `;
            + }
            +
            + restartButton?.addEventListener('click', () => {
            + questionContainer.style.display = 'block';
            + results.classList.add('hidden');
            + });
            +
            + // Smooth scrolling for anchor links
            + document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            + anchor.addEventListener('click', function (e) {
            + e.preventDefault();
            + const target = document.querySelector(this.getAttribute('href'));
            + if (target) {
            + target.scrollIntoView({
            + behavior: 'smooth'
            + });
            + }
            + });
            + });
            + });
            style.css
            Changed around line 1
            + :root {
            + --primary: #2c3e50;
            + --secondary: #3498db;
            + --accent: #e74c3c;
            + --light: #ecf0f1;
            + --dark: #2c3e50;
            + --transition: all 0.3s ease;
            + }
            +
            + * {
            + margin: 0;
            + padding: 0;
            + box-sizing: border-box;
            + }
            +
            + body {
            + font-family: 'Segoe UI', system-ui, sans-serif;
            + line-height: 1.6;
            + color: var(--dark);
            + background: var(--light);
            + }
            +
            + /* Header & Navigation */
            + header {
            + background: var(--primary);
            + padding: 1rem;
            + position: fixed;
            + width: 100%;
            + top: 0;
            + z-index: 1000;
            + box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            + }
            +
            + nav {
            + display: flex;
            + justify-content: space-between;
            + align-items: center;
            + max-width: 1200px;
            + margin: 0 auto;
            + }
            +
            + .logo {
            + color: white;
            + font-size: 1.5rem;
            + font-weight: bold;
            + }
            +
            + .nav-links {
            + display: flex;
            + list-style: none;
            + gap: 2rem;
            + }
            +
            + .nav-links a {
            + color: white;
            + text-decoration: none;
            + transition: var(--transition);
            + }
            +
            + .nav-links a:hover {
            + color: var(--secondary);
            + }
            +
            + .menu-toggle {
            + display: none;
            + }
            +
            + /* Hero Section */
            + .hero {
            + height: 100vh;
            + display: flex;
            + flex-direction: column;
            + justify-content: center;
            + align-items: center;
            + text-align: center;
            + padding: 2rem;
            + background: linear-gradient(135deg, var(--primary), var(--secondary));
            + color: white;
            + }
            +
            + .hero h1 {
            + font-size: 3rem;
            + margin-bottom: 1rem;
            + animation: fadeIn 1s ease-out;
            + }
            +
            + .cta-button {
            + display: inline-block;
            + padding: 1rem 2rem;
            + background: var(--accent);
            + color: white;
            + text-decoration: none;
            + border-radius: 50px;
            + margin-top: 2rem;
            + transition: var(--transition);
            + }
            +
            + .cta-button:hover {
            + transform: translateY(-3px);
            + box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            + }
            +
            + /* Quiz Section */
            + .quiz-section {
            + padding: 5rem 2rem;
            + max-width: 800px;
            + margin: 0 auto;
            + }
            +
            + .quiz-container {
            + background: white;
            + padding: 2rem;
            + border-radius: 10px;
            + box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            + }
            +
            + .options {
            + display: grid;
            + gap: 1rem;
            + margin-top: 2rem;
            + }
            +
            + .option {
            + padding: 1rem;
            + border: none;
            + background: var(--light);
            + border-radius: 5px;
            + cursor: pointer;
            + transition: var(--transition);
            + }
            +
            + .option:hover {
            + background: var(--secondary);
            + color: white;
            + }
            +
            + /* Disciplines Section */
            + .disciplines-section {
            + padding: 5rem 2rem;
            + background: white;
            + }
            +
            + .discipline-grid {
            + display: grid;
            + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            + gap: 2rem;
            + max-width: 1200px;
            + margin: 2rem auto;
            + }
            +
            + .discipline-card {
            + background: var(--light);
            + padding: 2rem;
            + border-radius: 10px;
            + transition: var(--transition);
            + }
            +
            + .discipline-card:hover {
            + transform: translateY(-5px);
            + box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            + }
            +
            + /* Animations */
            + @keyframes fadeIn {
            + from { opacity: 0; transform: translateY(20px); }
            + to { opacity: 1; transform: translateY(0); }
            + }
            +
            + /* Mobile Responsiveness */
            + @media (max-width: 768px) {
            + .menu-toggle {
            + display: block;
            + background: none;
            + border: none;
            + cursor: pointer;
            + }
            +
            + .menu-toggle span {
            + display: block;
            + width: 25px;
            + height: 3px;
            + background: white;
            + margin: 5px 0;
            + transition: var(--transition);
            + }
            +
            + .nav-links {
            + display: none;
            + position: absolute;
            + top: 100%;
            + left: 0;
            + right: 0;
            + background: var(--primary);
            + flex-direction: column;
            + padding: 1rem;
            + text-align: center;
            + }
            +
            + .nav-links.active {
            + display: flex;
            + }
            +
            + .hero h1 {
            + font-size: 2rem;
            + }
            + }