Changes to careermatch.scroll.pub

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

Career Match Calculator

+

Discover your ideal career based on your 16 Personality Archetype

+
+
+
+
+

Take our quick personality assessment to find out which careers align with your unique traits and strengths.

+
+
+
+
+
+

Question 1 of 16

+

Are you more outgoing or reserved?

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

Your Career Match

+
+
+
+
+
+
+

Find your perfect career path today!

+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://careermatch.scroll.pub
+ metaTags
+ editButton /edit.html
+ title Career Match Calculator | Find Your Ideal Job Based on Personality
+ style.css
+ body.html
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "09fa2897-6c6e-4f8f-8db3-6586ef6097bf",
+ "object": "chat.completion",
+ "created": 1735321372,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\ncareermatch.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://careermatch.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Career Match Calculator | Find Your Ideal Job Based on Personality\nstyle.css\nbody.html\nscript.js\n---body.html---\n
\n

Career Match Calculator

\n

Discover your ideal career based on your 16 Personality Archetype

\n
\n\n
\n
\n

Take our quick personality assessment to find out which careers align with your unique traits and strengths.

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

Question 1 of 16

\n

Are you more outgoing or reserved?

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

Your Career Match

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

Find your perfect career path today!

\n
\n---style.css---\n:root {\n --primary-color: #4a90e2;\n --secondary-color: #f5a623;\n --background-color: #f8f9fa;\n --text-color: #333;\n --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n}\n\nbody {\n font-family: var(--font-family);\n color: var(--text-color);\n background-color: var(--background-color);\n margin: 0;\n padding: 0;\n line-height: 1.6;\n}\n\nheader {\n background: var(--primary-color);\n color: white;\n padding: 2rem;\n text-align: center;\n}\n\nh1 {\n margin: 0;\n font-size: 2.5rem;\n}\n\np {\n margin: 0.5rem 0;\n}\n\nmain {\n padding: 2rem;\n max-width: 800px;\n margin: 0 auto;\n}\n\nbutton {\n background: var(--primary-color);\n color: white;\n border: none;\n padding: 0.75rem 1.5rem;\n border-radius: 5px;\n cursor: pointer;\n font-size: 1rem;\n transition: background 0.3s ease;\n}\n\nbutton:hover {\n background: var(--secondary-color);\n}\n\n.quiz, .results {\n display: none;\n}\n\n.quiz.active, .results.active {\n display: block;\n}\n\n.question {\n background: white;\n padding: 1.5rem;\n border-radius: 10px;\n box-shadow: 0 2px 5px rgba(0,0,0,0.1);\n}\n\n.options {\n display: flex;\n gap: 1rem;\n margin-top: 1rem;\n}\n\n.option {\n flex: 1;\n}\n\n.navigation {\n display: flex;\n justify-content: space-between;\n margin-top: 1.5rem;\n}\n\n.results {\n text-align: center;\n}\n\n.hidden {\n display: none;\n}\n\n@media (max-width: 600px) {\n h1 {\n font-size: 2rem;\n }\n\n .options {\n flex-direction: column;\n }\n}\n---script.js---\nconst quizData = [\n { question: \"Are you more outgoing or reserved?\", options: { E: \"Outgoing\", I: \"Reserved\" } },\n { question: \"Do you prefer to focus on the big picture or the details?\", options: { N: \"Big Picture\", S: \"Details\" } },\n { question: \"Do you make decisions based on logic or feelings?\", options: { T: \"Logic\", F: \"Feelings\" } },\n { question: \"Do you prefer a structured or flexible lifestyle?\", options: { J: \"Structured\", P: \"Flexible\" } },\n // Add more questions here...\n];\n\nlet currentQuestion = 0;\nlet personalityType = \"\";\n\nconst startQuizBtn = document.getElementById('startQuiz');\nconst quizSection = document.querySelector('.quiz');\nconst resultsSection = document.querySelector('.results');\nconst questionNumber = document.getElementById('questionNumber');\nconst questionText = document.getElementById('questionText');\nconst optionsContainer = document.querySelector('.options');\nconst prevQuestionBtn = document.getElementById('prevQuestion');\nconst nextQuestionBtn = document.getElementById('nextQuestion');\nconst retakeQuizBtn = document.getElementById('retakeQuiz');\nconst resultContent = document.getElementById('resultContent');\n\nstartQuizBtn.addEventListener('click', () => {\n startQuizBtn.classList.add('hidden');\n quizSection.classList.add('active');\n loadQuestion();\n});\n\noptionsContainer.addEventListener('click', (e) => {\n if (e.target.classList.contains('option')) {\n personalityType += e.target.dataset.value;\n nextQuestion();\n }\n});\n\nprevQuestionBtn.addEventListener('click', () => {\n currentQuestion--;\n personalityType = personalityType.slice(0, -1);\n loadQuestion();\n});\n\nnextQuestionBtn.addEventListener('click', () => {\n nextQuestion();\n});\n\nretakeQuizBtn.addEventListener('click', () => {\n currentQuestion = 0;\n personalityType = \"\";\n resultsSection.classList.remove('active');\n quizSection.classList.add('active');\n loadQuestion();\n});\n\nfunction loadQuestion() {\n const question = quizData[currentQuestion];\n questionNumber.textContent = currentQuestion + 1;\n questionText.textContent = question.question;\n optionsContainer.innerHTML = Object.entries(question.options).map(([value, text]) => `\n \n `).join('');\n prevQuestionBtn.disabled = currentQuestion === 0;\n nextQuestionBtn.disabled = true;\n}\n\nfunction nextQuestion() {\n currentQuestion++;\n if (currentQuestion < quizData.length) {\n loadQuestion();\n } else {\n showResults();\n }\n}\n\nfunction showResults() {\n quizSection.classList.remove('active');\n resultsSection.classList.add('active');\n const careerMatches = {\n \"INTJ\": \"Architect\",\n \"INTP\": \"Logician\",\n \"ENTJ\": \"Commander\",\n \"ENTP\": \"Debater\",\n \"INFJ\": \"Advocate\",\n \"INFP\": \"Mediator\",\n \"ENFJ\": \"Protagonist\",\n \"ENFP\": \"Campaigner\",\n \"ISTJ\": \"Inspector\",\n \"ISFJ\": \"Defender\",\n \"ESTJ\": \"Executive\",\n \"ESFJ\": \"Consul\",\n \"ISTP\": \"Virtuoso\",\n \"ISFP\": \"Adventurer\",\n \"ESTP\": \"Entrepreneur\",\n \"ESFP\": \"Entertainer\"\n };\n const result = careerMatches[personalityType] || \"Unknown\";\n resultContent.innerHTML = `\n

Your personality type is: ${personalityType}

\n

Your ideal career match is: ${result}

\n `;\n}\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 246,
+ "completion_tokens": 1658,
+ "total_tokens": 1904,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 246
+ },
+ "system_fingerprint": "fp_f1afce2943"
+ }
readme.scroll
Changed around line 1
+ # careermatch.scroll.pub
+ Website generated by DeepSeek from prompt: a career match calculator pased on 16 personalities archetype
script.js
Changed around line 1
+ const quizData = [
+ { question: "Are you more outgoing or reserved?", options: { E: "Outgoing", I: "Reserved" } },
+ { question: "Do you prefer to focus on the big picture or the details?", options: { N: "Big Picture", S: "Details" } },
+ { question: "Do you make decisions based on logic or feelings?", options: { T: "Logic", F: "Feelings" } },
+ { question: "Do you prefer a structured or flexible lifestyle?", options: { J: "Structured", P: "Flexible" } },
+ // Add more questions here...
+ ];
+
+ let currentQuestion = 0;
+ let personalityType = "";
+
+ const startQuizBtn = document.getElementById('startQuiz');
+ const quizSection = document.querySelector('.quiz');
+ const resultsSection = document.querySelector('.results');
+ const questionNumber = document.getElementById('questionNumber');
+ const questionText = document.getElementById('questionText');
+ const optionsContainer = document.querySelector('.options');
+ const prevQuestionBtn = document.getElementById('prevQuestion');
+ const nextQuestionBtn = document.getElementById('nextQuestion');
+ const retakeQuizBtn = document.getElementById('retakeQuiz');
+ const resultContent = document.getElementById('resultContent');
+
+ startQuizBtn.addEventListener('click', () => {
+ startQuizBtn.classList.add('hidden');
+ quizSection.classList.add('active');
+ loadQuestion();
+ });
+
+ optionsContainer.addEventListener('click', (e) => {
+ if (e.target.classList.contains('option')) {
+ personalityType += e.target.dataset.value;
+ nextQuestion();
+ }
+ });
+
+ prevQuestionBtn.addEventListener('click', () => {
+ currentQuestion--;
+ personalityType = personalityType.slice(0, -1);
+ loadQuestion();
+ });
+
+ nextQuestionBtn.addEventListener('click', () => {
+ nextQuestion();
+ });
+
+ retakeQuizBtn.addEventListener('click', () => {
+ currentQuestion = 0;
+ personalityType = "";
+ resultsSection.classList.remove('active');
+ quizSection.classList.add('active');
+ loadQuestion();
+ });
+
+ function loadQuestion() {
+ const question = quizData[currentQuestion];
+ questionNumber.textContent = currentQuestion + 1;
+ questionText.textContent = question.question;
+ optionsContainer.innerHTML = Object.entries(question.options).map(([value, text]) => `
+
+ `).join('');
+ prevQuestionBtn.disabled = currentQuestion === 0;
+ nextQuestionBtn.disabled = true;
+ }
+
+ function nextQuestion() {
+ currentQuestion++;
+ if (currentQuestion < quizData.length) {
+ loadQuestion();
+ } else {
+ showResults();
+ }
+ }
+
+ function showResults() {
+ quizSection.classList.remove('active');
+ resultsSection.classList.add('active');
+ const careerMatches = {
+ "INTJ": "Architect",
+ "INTP": "Logician",
+ "ENTJ": "Commander",
+ "ENTP": "Debater",
+ "INFJ": "Advocate",
+ "INFP": "Mediator",
+ "ENFJ": "Protagonist",
+ "ENFP": "Campaigner",
+ "ISTJ": "Inspector",
+ "ISFJ": "Defender",
+ "ESTJ": "Executive",
+ "ESFJ": "Consul",
+ "ISTP": "Virtuoso",
+ "ISFP": "Adventurer",
+ "ESTP": "Entrepreneur",
+ "ESFP": "Entertainer"
+ };
+ const result = careerMatches[personalityType] || "Unknown";
+ resultContent.innerHTML = `
+

Your personality type is: ${personalityType}

+

Your ideal career match is: ${result}

+ `;
+ }
style.css
Changed around line 1
+ :root {
+ --primary-color: #4a90e2;
+ --secondary-color: #f5a623;
+ --background-color: #f8f9fa;
+ --text-color: #333;
+ --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ }
+
+ body {
+ font-family: var(--font-family);
+ color: var(--text-color);
+ background-color: var(--background-color);
+ margin: 0;
+ padding: 0;
+ line-height: 1.6;
+ }
+
+ header {
+ background: var(--primary-color);
+ color: white;
+ padding: 2rem;
+ text-align: center;
+ }
+
+ h1 {
+ margin: 0;
+ font-size: 2.5rem;
+ }
+
+ p {
+ margin: 0.5rem 0;
+ }
+
+ main {
+ padding: 2rem;
+ max-width: 800px;
+ margin: 0 auto;
+ }
+
+ button {
+ background: var(--primary-color);
+ color: white;
+ border: none;
+ padding: 0.75rem 1.5rem;
+ border-radius: 5px;
+ cursor: pointer;
+ font-size: 1rem;
+ transition: background 0.3s ease;
+ }
+
+ button:hover {
+ background: var(--secondary-color);
+ }
+
+ .quiz, .results {
+ display: none;
+ }
+
+ .quiz.active, .results.active {
+ display: block;
+ }
+
+ .question {
+ background: white;
+ padding: 1.5rem;
+ border-radius: 10px;
+ box-shadow: 0 2px 5px rgba(0,0,0,0.1);
+ }
+
+ .options {
+ display: flex;
+ gap: 1rem;
+ margin-top: 1rem;
+ }
+
+ .option {
+ flex: 1;
+ }
+
+ .navigation {
+ display: flex;
+ justify-content: space-between;
+ margin-top: 1.5rem;
+ }
+
+ .results {
+ text-align: center;
+ }
+
+ .hidden {
+ display: none;
+ }
+
+ @media (max-width: 600px) {
+ h1 {
+ font-size: 2rem;
+ }
+
+ .options {
+ flex-direction: column;
+ }
+ }