commit aef21d9843cb6a41f801a8ff3cfd11ee5e091e59
Author: ffff:104.28.104.127 <ffff:104.28.104.127@eqfactor.scroll.pub> Date: 2024-12-28 04:06:26 +0000 Subject: updated readme.scroll diff --git a/readme.scroll b/readme.scroll index 930640c..dc62ff6 100644 --- a/readme.scroll +++ b/readme.scroll @@ -1,2 +1,2 @@ # eqfactor.scroll.pub -Website generated by DeepSeek from prompt: I want an emotional quotient estimator that helps you people choose between 48 factors that’s calculate a unique score. Ensure interactivity. Be creative \ No newline at end of file +Website generated by DeepSeek from prompt: I want an emotional quotient estimator that helps you people choose between 48 weighted factors that’s calculate a unique score. Ensure interactivity. Be creative \ No newline at end of file
commit e22af46fc9ac4acbee5d17f3a2ef77e80deb06bb
Author: root <root@hub.scroll.pub> Date: 2024-12-28 04:05:14 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..f5e74a3 --- /dev/null +++ b/body.html @@ -0,0 +1,21 @@ +<header> + <h1>Emotional Quotient Estimator</h1> + <p>Discover your emotional intelligence by choosing between 48 factors. Calculate your unique EQ score today!</p> +</header> +<main> + <section id="factors"> + <h2>Choose Your Factors</h2> + <div class="grid-container" id="factor-grid"></div> + </section> + <section id="results"> + <h2>Your EQ Score</h2> + <div class="score-display"> + <span id="eq-score">0</span> + <p id="score-description">Start selecting factors to see your score.</p> + </div> + <button id="calculate-btn" disabled>Calculate EQ Score</button> + </section> +</main> +<footer> + <p>Explore your emotional intelligence with EQ Factor.</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..5b94d9d --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://eqfactor.scroll.pub +metaTags +editButton /edit.html +title Emotional Quotient Estimator +style.css +body.html +script.js \ No newline at end of file diff --git a/prompt.json b/prompt.json new file mode 100644 index 0000000..4f5244a --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "bdafd1d5-31e0-4ba7-bf66-f45e1b51ad90", + "object": "chat.completion", + "created": 1735358696, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\neqfactor.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://eqfactor.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Emotional Quotient Estimator\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>Emotional Quotient Estimator</h1>\n <p>Discover your emotional intelligence by choosing between 48 factors. Calculate your unique EQ score today!</p>\n</header>\n<main>\n <section id=\"factors\">\n <h2>Choose Your Factors</h2>\n <div class=\"grid-container\" id=\"factor-grid\"></div>\n </section>\n <section id=\"results\">\n <h2>Your EQ Score</h2>\n <div class=\"score-display\">\n <span id=\"eq-score\">0</span>\n <p id=\"score-description\">Start selecting factors to see your score.</p>\n </div>\n <button id=\"calculate-btn\" disabled>Calculate EQ Score</button>\n </section>\n</main>\n<footer>\n <p>Explore your emotional intelligence with EQ Factor.</p>\n</footer>\n---style.css---\nbody {\n font-family: 'Arial', sans-serif;\n background: linear-gradient(135deg, #f5f7fa, #c3cfe2);\n color: #333;\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n min-height: 100vh;\n}\n\nheader {\n text-align: center;\n padding: 2rem;\n background: rgba(255, 255, 255, 0.9);\n border-radius: 10px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n margin-bottom: 2rem;\n}\n\nh1 {\n font-size: 2.5rem;\n color: #4a90e2;\n}\n\np {\n font-size: 1.2rem;\n color: #666;\n}\n\nmain {\n width: 90%;\n max-width: 800px;\n background: rgba(255, 255, 255, 0.9);\n border-radius: 10px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n padding: 2rem;\n}\n\n.grid-container {\n display: grid;\n grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));\n gap: 1rem;\n}\n\n.grid-container div {\n background: #4a90e2;\n color: white;\n padding: 1rem;\n border-radius: 5px;\n cursor: pointer;\n text-align: center;\n transition: background 0.3s ease;\n}\n\n.grid-container div.selected {\n background: #2c3e50;\n}\n\n.score-display {\n text-align: center;\n margin: 2rem 0;\n}\n\n#eq-score {\n font-size: 3rem;\n font-weight: bold;\n color: #4a90e2;\n}\n\n#calculate-btn {\n background: #4a90e2;\n color: white;\n border: none;\n padding: 1rem 2rem;\n border-radius: 5px;\n cursor: pointer;\n font-size: 1.2rem;\n transition: background 0.3s ease;\n}\n\n#calculate-btn:disabled {\n background: #ccc;\n cursor: not-allowed;\n}\n\n#calculate-btn:hover:not(:disabled) {\n background: #357abd;\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n margin-top: 2rem;\n color: #666;\n}\n---script.js---\nconst factors = [\n \"Empathy\", \"Self-awareness\", \"Motivation\", \"Social skills\", \"Adaptability\", \n \"Optimism\", \"Resilience\", \"Patience\", \"Compassion\", \"Active listening\", \n \"Conflict resolution\", \"Emotional regulation\", \"Self-discipline\", \"Curiosity\", \n \"Open-mindedness\", \"Gratitude\", \"Humility\", \"Integrity\", \"Courage\", \"Creativity\", \n \"Problem-solving\", \"Decision-making\", \"Teamwork\", \"Leadership\", \"Communication\", \n \"Assertiveness\", \"Flexibility\", \"Stress management\", \"Time management\", \"Self-care\", \n \"Mindfulness\", \"Perseverance\", \"Confidence\", \"Positivity\", \"Generosity\", \"Kindness\", \n \"Honesty\", \"Loyalty\", \"Respect\", \"Fairness\", \"Forgiveness\", \"Trustworthiness\", \n \"Dependability\", \"Responsibility\", \"Accountability\", \"Initiative\", \"Vision\", \"Focus\"\n];\n\nconst factorGrid = document.getElementById('factor-grid');\nconst eqScore = document.getElementById('eq-score');\nconst scoreDescription = document.getElementById('score-description');\nconst calculateBtn = document.getElementById('calculate-btn');\n\nlet selectedFactors = [];\n\nfactors.forEach(factor => {\n const div = document.createElement('div');\n div.textContent = factor;\n div.addEventListener('click', () => {\n div.classList.toggle('selected');\n if (selectedFactors.includes(factor)) {\n selectedFactors = selectedFactors.filter(f => f !== factor);\n } else {\n selectedFactors.push(factor);\n }\n calculateBtn.disabled = selectedFactors.length === 0;\n });\n factorGrid.appendChild(div);\n});\n\ncalculateBtn.addEventListener('click', () => {\n const score = selectedFactors.length * 2; // Simple scoring mechanism\n eqScore.textContent = score;\n if (score >= 80) {\n scoreDescription.textContent = \"You have a high EQ! Great job!\";\n } else if (score >= 50) {\n scoreDescription.textContent = \"Your EQ is above average. Keep improving!\";\n } else {\n scoreDescription.textContent = \"Your EQ is developing. Focus on these factors!\";\n }\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 264, + "completion_tokens": 1317, + "total_tokens": 1581, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 264 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..930640c --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# eqfactor.scroll.pub +Website generated by DeepSeek from prompt: I want an emotional quotient estimator that helps you people choose between 48 factors that’s calculate a unique score. Ensure interactivity. Be creative \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..3cf312e --- /dev/null +++ b/script.js @@ -0,0 +1,45 @@ +const factors = [ + "Empathy", "Self-awareness", "Motivation", "Social skills", "Adaptability", + "Optimism", "Resilience", "Patience", "Compassion", "Active listening", + "Conflict resolution", "Emotional regulation", "Self-discipline", "Curiosity", + "Open-mindedness", "Gratitude", "Humility", "Integrity", "Courage", "Creativity", + "Problem-solving", "Decision-making", "Teamwork", "Leadership", "Communication", + "Assertiveness", "Flexibility", "Stress management", "Time management", "Self-care", + "Mindfulness", "Perseverance", "Confidence", "Positivity", "Generosity", "Kindness", + "Honesty", "Loyalty", "Respect", "Fairness", "Forgiveness", "Trustworthiness", + "Dependability", "Responsibility", "Accountability", "Initiative", "Vision", "Focus" +]; + +const factorGrid = document.getElementById('factor-grid'); +const eqScore = document.getElementById('eq-score'); +const scoreDescription = document.getElementById('score-description'); +const calculateBtn = document.getElementById('calculate-btn'); + +let selectedFactors = []; + +factors.forEach(factor => { + const div = document.createElement('div'); + div.textContent = factor; + div.addEventListener('click', () => { + div.classList.toggle('selected'); + if (selectedFactors.includes(factor)) { + selectedFactors = selectedFactors.filter(f => f !== factor); + } else { + selectedFactors.push(factor); + } + calculateBtn.disabled = selectedFactors.length === 0; + }); + factorGrid.appendChild(div); +}); + +calculateBtn.addEventListener('click', () => { + const score = selectedFactors.length * 2; // Simple scoring mechanism + eqScore.textContent = score; + if (score >= 80) { + scoreDescription.textContent = "You have a high EQ! Great job!"; + } else if (score >= 50) { + scoreDescription.textContent = "Your EQ is above average. Keep improving!"; + } else { + scoreDescription.textContent = "Your EQ is developing. Focus on these factors!"; + } +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..942ca7e --- /dev/null +++ b/style.css @@ -0,0 +1,98 @@ +body { + font-family: 'Arial', sans-serif; + background: linear-gradient(135deg, #f5f7fa, #c3cfe2); + color: #333; + margin: 0; + padding: 0; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + min-height: 100vh; +} + +header { + text-align: center; + padding: 2rem; + background: rgba(255, 255, 255, 0.9); + border-radius: 10px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + margin-bottom: 2rem; +} + +h1 { + font-size: 2.5rem; + color: #4a90e2; +} + +p { + font-size: 1.2rem; + color: #666; +} + +main { + width: 90%; + max-width: 800px; + background: rgba(255, 255, 255, 0.9); + border-radius: 10px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + padding: 2rem; +} + +.grid-container { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); + gap: 1rem; +} + +.grid-container div { + background: #4a90e2; + color: white; + padding: 1rem; + border-radius: 5px; + cursor: pointer; + text-align: center; + transition: background 0.3s ease; +} + +.grid-container div.selected { + background: #2c3e50; +} + +.score-display { + text-align: center; + margin: 2rem 0; +} + +#eq-score { + font-size: 3rem; + font-weight: bold; + color: #4a90e2; +} + +#calculate-btn { + background: #4a90e2; + color: white; + border: none; + padding: 1rem 2rem; + border-radius: 5px; + cursor: pointer; + font-size: 1.2rem; + transition: background 0.3s ease; +} + +#calculate-btn:disabled { + background: #ccc; + cursor: not-allowed; +} + +#calculate-btn:hover:not(:disabled) { + background: #357abd; +} + +footer { + text-align: center; + padding: 1rem; + margin-top: 2rem; + color: #666; +} \ No newline at end of file