Changes to careercompass.scroll.pub

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

Career Compass

+

Discover your ideal career path through interactive exploration.

+
+
+
+
+

Where do you see yourself in 5 years?

+
+
+
+
+
+

+
+
+
+
+
+
+

Your Career Path

+
+
+
+
+
+
+

Take the first step towards your future today.

+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://careercompass.scroll.pub
+ metaTags
+ editButton /edit.html
+ title Career Compass - Find Your Path
+ style.css
+ body.html
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "459fddac-d646-4fb5-9aec-1b438e045715",
+ "object": "chat.completion",
+ "created": 1735346627,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\ncareercompass.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://careercompass.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Career Compass - Find Your Path\nstyle.css\nbody.html\nscript.js\n---body.html---\n
\n

Career Compass

\n

Discover your ideal career path through interactive exploration.

\n
\n\n
\n
\n

Where do you see yourself in 5 years?

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

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

Your Career Path

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

Take the first step towards your future today.

\n
\n---style.css---\n:root {\n --primary-color: #2563eb;\n --secondary-color: #1e40af;\n --background-color: #f8fafc;\n --text-color: #1e293b;\n --border-radius: 8px;\n --transition-speed: 0.3s;\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-color);\n background-color: var(--background-color);\n padding: 2rem;\n max-width: 800px;\n margin: 0 auto;\n}\n\nheader {\n text-align: center;\n margin-bottom: 2rem;\n}\n\nh1 {\n color: var(--primary-color);\n font-size: 2.5rem;\n margin-bottom: 0.5rem;\n}\n\nsection {\n background: white;\n padding: 2rem;\n border-radius: var(--border-radius);\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n margin-bottom: 1rem;\n}\n\nbutton {\n background-color: var(--primary-color);\n color: white;\n border: none;\n padding: 0.8rem 1.5rem;\n border-radius: var(--border-radius);\n cursor: pointer;\n font-size: 1rem;\n transition: background-color var(--transition-speed);\n}\n\nbutton:hover {\n background-color: var(--secondary-color);\n}\n\n#options {\n display: grid;\n gap: 1rem;\n margin: 1.5rem 0;\n}\n\n.option {\n padding: 1rem;\n border: 1px solid #ddd;\n border-radius: var(--border-radius);\n cursor: pointer;\n transition: all var(--transition-speed);\n}\n\n.option:hover {\n background-color: var(--background-color);\n border-color: var(--primary-color);\n}\n\n.hidden {\n display: none;\n}\n\n#results {\n text-align: center;\n}\n\n#resultContent {\n margin: 2rem 0;\n font-size: 1.2rem;\n}\n\n@media (max-width: 600px) {\n body {\n padding: 1rem;\n }\n \n h1 {\n font-size: 2rem;\n }\n \n section {\n padding: 1rem;\n }\n}\n---script.js---\nconst quizData = [\n {\n question: \"What type of work environment do you prefer?\",\n options: [\n { text: \"Structured and organized\", path: \"corporate\" },\n { text: \"Creative and flexible\", path: \"creative\" },\n { text: \"Fast-paced and challenging\", path: \"startup\" }\n ]\n },\n {\n question: \"What are you most passionate about?\",\n options: [\n { text: \"Helping others\", path: \"helping\" },\n { text: \"Solving complex problems\", path: \"problem-solving\" },\n { text: \"Creating new things\", path: \"creating\" }\n ]\n },\n {\n question: \"What's your ideal work style?\",\n options: [\n { text: \"Team collaboration\", path: \"team\" },\n { text: \"Independent work\", path: \"independent\" },\n { text: \"Leadership roles\", path: \"leadership\" }\n ]\n }\n];\n\nconst careerPaths = {\n corporate: {\n helping: [\"Human Resources\", \"Corporate Training\"],\n \"problem-solving\": [\"Management Consulting\", \"Financial Analysis\"],\n creating: [\"Product Management\", \"Corporate Strategy\"]\n },\n creative: {\n helping: [\"Graphic Design\", \"UI/UX Design\"],\n \"problem-solving\": [\"Creative Direction\", \"Advertising\"],\n creating: [\"Content Creation\", \"Art Direction\"]\n },\n startup: {\n helping: [\"Customer Success\", \"Community Management\"],\n \"problem-solving\": [\"Data Science\", \"Software Engineering\"],\n creating: [\"Entrepreneurship\", \"Product Development\"]\n }\n};\n\nlet currentQuestion = 0;\nlet userPath = [];\n\nconst startBtn = document.getElementById('startBtn');\nconst quizSection = document.getElementById('quiz');\nconst questionEl = document.getElementById('question');\nconst optionsEl = document.getElementById('options');\nconst backBtn = document.getElementById('backBtn');\nconst resultsSection = document.getElementById('results');\nconst resultContent = document.getElementById('resultContent');\nconst restartBtn = document.getElementById('restartBtn');\n\nstartBtn.addEventListener('click', startQuiz);\nbackBtn.addEventListener('click', previousQuestion);\nrestartBtn.addEventListener('click', restartQuiz);\n\nfunction startQuiz() {\n document.getElementById('intro').classList.add('hidden');\n quizSection.classList.remove('hidden');\n loadQuestion();\n}\n\nfunction loadQuestion() {\n const currentQuizData = quizData[currentQuestion];\n questionEl.textContent = currentQuizData.question;\n optionsEl.innerHTML = '';\n \n currentQuizData.options.forEach(option => {\n const button = document.createElement('div');\n button.classList.add('option');\n button.textContent = option.text;\n button.addEventListener('click', () => selectOption(option.path));\n optionsEl.appendChild(button);\n });\n \n backBtn.classList.toggle('hidden', currentQuestion === 0);\n}\n\nfunction selectOption(path) {\n userPath.push(path);\n if (currentQuestion < quizData.length - 1) {\n currentQuestion++;\n loadQuestion();\n } else {\n showResults();\n }\n}\n\nfunction previousQuestion() {\n if (currentQuestion > 0) {\n currentQuestion--;\n userPath.pop();\n loadQuestion();\n }\n}\n\nfunction showResults() {\n quizSection.classList.add('hidden');\n resultsSection.classList.remove('hidden');\n \n const [environment, passion, workStyle] = userPath;\n const possibleCareers = careerPaths[environment][passion];\n \n resultContent.innerHTML = `\n

Based on your preferences, here are some career paths to consider:

\n
    \n ${possibleCareers.map(career => `
  • ${career}
  • `).join('')}\n
\n

Remember, this is just a starting point. Explore these options further to find your perfect fit!

\n `;\n}\n\nfunction restartQuiz() {\n currentQuestion = 0;\n userPath = [];\n resultsSection.classList.add('hidden');\n quizSection.classList.remove('hidden');\n loadQuestion();\n}\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 278,
+ "completion_tokens": 1676,
+ "total_tokens": 1954,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 278
+ },
+ "system_fingerprint": "fp_f1afce2943"
+ }
readme.scroll
Changed around line 1
+ # careercompass.scroll.pub
+ Website generated by DeepSeek from prompt: i want to make a website that will help me decide what career path i want to take. be creative it should have some interactivity and just be general at first then consolidate the next options available after a choice is made
script.js
Changed around line 1
+ const quizData = [
+ {
+ question: "What type of work environment do you prefer?",
+ options: [
+ { text: "Structured and organized", path: "corporate" },
+ { text: "Creative and flexible", path: "creative" },
+ { text: "Fast-paced and challenging", path: "startup" }
+ ]
+ },
+ {
+ question: "What are you most passionate about?",
+ options: [
+ { text: "Helping others", path: "helping" },
+ { text: "Solving complex problems", path: "problem-solving" },
+ { text: "Creating new things", path: "creating" }
+ ]
+ },
+ {
+ question: "What's your ideal work style?",
+ options: [
+ { text: "Team collaboration", path: "team" },
+ { text: "Independent work", path: "independent" },
+ { text: "Leadership roles", path: "leadership" }
+ ]
+ }
+ ];
+
+ const careerPaths = {
+ corporate: {
+ helping: ["Human Resources", "Corporate Training"],
+ "problem-solving": ["Management Consulting", "Financial Analysis"],
+ creating: ["Product Management", "Corporate Strategy"]
+ },
+ creative: {
+ helping: ["Graphic Design", "UI/UX Design"],
+ "problem-solving": ["Creative Direction", "Advertising"],
+ creating: ["Content Creation", "Art Direction"]
+ },
+ startup: {
+ helping: ["Customer Success", "Community Management"],
+ "problem-solving": ["Data Science", "Software Engineering"],
+ creating: ["Entrepreneurship", "Product Development"]
+ }
+ };
+
+ let currentQuestion = 0;
+ let userPath = [];
+
+ const startBtn = document.getElementById('startBtn');
+ const quizSection = document.getElementById('quiz');
+ const questionEl = document.getElementById('question');
+ const optionsEl = document.getElementById('options');
+ const backBtn = document.getElementById('backBtn');
+ const resultsSection = document.getElementById('results');
+ const resultContent = document.getElementById('resultContent');
+ const restartBtn = document.getElementById('restartBtn');
+
+ startBtn.addEventListener('click', startQuiz);
+ backBtn.addEventListener('click', previousQuestion);
+ restartBtn.addEventListener('click', restartQuiz);
+
+ function startQuiz() {
+ document.getElementById('intro').classList.add('hidden');
+ quizSection.classList.remove('hidden');
+ loadQuestion();
+ }
+
+ function loadQuestion() {
+ const currentQuizData = quizData[currentQuestion];
+ questionEl.textContent = currentQuizData.question;
+ optionsEl.innerHTML = '';
+
+ currentQuizData.options.forEach(option => {
+ const button = document.createElement('div');
+ button.classList.add('option');
+ button.textContent = option.text;
+ button.addEventListener('click', () => selectOption(option.path));
+ optionsEl.appendChild(button);
+ });
+
+ backBtn.classList.toggle('hidden', currentQuestion === 0);
+ }
+
+ function selectOption(path) {
+ userPath.push(path);
+ if (currentQuestion < quizData.length - 1) {
+ currentQuestion++;
+ loadQuestion();
+ } else {
+ showResults();
+ }
+ }
+
+ function previousQuestion() {
+ if (currentQuestion > 0) {
+ currentQuestion--;
+ userPath.pop();
+ loadQuestion();
+ }
+ }
+
+ function showResults() {
+ quizSection.classList.add('hidden');
+ resultsSection.classList.remove('hidden');
+
+ const [environment, passion, workStyle] = userPath;
+ const possibleCareers = careerPaths[environment][passion];
+
+ resultContent.innerHTML = `
+

Based on your preferences, here are some career paths to consider:

+
    + ${possibleCareers.map(career => `
  • ${career}
  • `).join('')}
    +
    +

    Remember, this is just a starting point. Explore these options further to find your perfect fit!

    + `;
    + }
    +
    + function restartQuiz() {
    + currentQuestion = 0;
    + userPath = [];
    + resultsSection.classList.add('hidden');
    + quizSection.classList.remove('hidden');
    + loadQuestion();
    + }
    style.css
    Changed around line 1
    + :root {
    + --primary-color: #2563eb;
    + --secondary-color: #1e40af;
    + --background-color: #f8fafc;
    + --text-color: #1e293b;
    + --border-radius: 8px;
    + --transition-speed: 0.3s;
    + }
    +
    + * {
    + margin: 0;
    + padding: 0;
    + box-sizing: border-box;
    + }
    +
    + body {
    + font-family: system-ui, -apple-system, sans-serif;
    + line-height: 1.6;
    + color: var(--text-color);
    + background-color: var(--background-color);
    + padding: 2rem;
    + max-width: 800px;
    + margin: 0 auto;
    + }
    +
    + header {
    + text-align: center;
    + margin-bottom: 2rem;
    + }
    +
    + h1 {
    + color: var(--primary-color);
    + font-size: 2.5rem;
    + margin-bottom: 0.5rem;
    + }
    +
    + section {
    + background: white;
    + padding: 2rem;
    + border-radius: var(--border-radius);
    + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    + margin-bottom: 1rem;
    + }
    +
    + button {
    + background-color: var(--primary-color);
    + color: white;
    + border: none;
    + padding: 0.8rem 1.5rem;
    + border-radius: var(--border-radius);
    + cursor: pointer;
    + font-size: 1rem;
    + transition: background-color var(--transition-speed);
    + }
    +
    + button:hover {
    + background-color: var(--secondary-color);
    + }
    +
    + #options {
    + display: grid;
    + gap: 1rem;
    + margin: 1.5rem 0;
    + }
    +
    + .option {
    + padding: 1rem;
    + border: 1px solid #ddd;
    + border-radius: var(--border-radius);
    + cursor: pointer;
    + transition: all var(--transition-speed);
    + }
    +
    + .option:hover {
    + background-color: var(--background-color);
    + border-color: var(--primary-color);
    + }
    +
    + .hidden {
    + display: none;
    + }
    +
    + #results {
    + text-align: center;
    + }
    +
    + #resultContent {
    + margin: 2rem 0;
    + font-size: 1.2rem;
    + }
    +
    + @media (max-width: 600px) {
    + body {
    + padding: 1rem;
    + }
    +
    + h1 {
    + font-size: 2rem;
    + }
    +
    + section {
    + padding: 1rem;
    + }
    + }