commit b641c271dec4f8209d9ab3441672e2bdf689a402
Author: root <root@hub.scroll.pub> Date: 2024-12-28 16:53:22 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..1b70a63 --- /dev/null +++ b/body.html @@ -0,0 +1,55 @@ +<header class="hero"> + <h1>Should I Continue Engineering or Switch to Spirituality (ISKCON)?</h1> + <p>Take a moment to reflect on your path and find clarity.</p> +</header> + +<main> + <section class="quiz-section"> + <h2>Discover Your True Calling</h2> + <div class="quiz-container"> + <div class="question"> + <p>1. Do you feel fulfilled in your current engineering career?</p> + <div class="options"> + <button data-value="engineering">Yes</button> + <button data-value="spirituality">No</button> + </div> + </div> + <div class="question"> + <p>2. Are you drawn to a life of service and spiritual growth?</p> + <div class="options"> + <button data-value="spirituality">Yes</button> + <button data-value="engineering">No</button> + </div> + </div> + <div class="question"> + <p>3. Do you feel a deeper purpose beyond material success?</p> + <div class="options"> + <button data-value="spirituality">Yes</button> + <button data-value="engineering">No</button> + </div> + </div> + </div> + <div class="result"> + <h3>Your Path:</h3> + <p id="result-text"></p> + </div> + </section> + + <section class="info-section"> + <h2>Explore Both Paths</h2> + <div class="info-cards"> + <div class="card"> + <h3>Engineering</h3> + <p>Engineering offers a stable career, innovation opportunities, and the chance to solve real-world problems. It’s a path of intellectual growth and material success.</p> + </div> + <div class="card"> + <h3>Spirituality (ISKCON)</h3> + <p>ISKCON focuses on spiritual growth, self-realization, and serving humanity. It’s a path of inner peace, devotion, and connecting with a higher purpose.</p> + </div> + </div> + </section> +</main> + +<footer> + <p>Take your time. Reflect. Choose wisely.</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..b9fac8d --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://decide.scroll.pub +metaTags +editButton /edit.html +title Should I Continue Engineering or Switch to Spirituality (ISKCON)? +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..6e22482 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "91a92980-dd74-4e64-913a-7e15d328ce1a", + "object": "chat.completion", + "created": 1735404782, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\ndecide.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://decide.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Should I Continue Engineering or Switch to Spirituality (ISKCON)?\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header class=\"hero\">\n <h1>Should I Continue Engineering or Switch to Spirituality (ISKCON)?</h1>\n <p>Take a moment to reflect on your path and find clarity.</p>\n</header>\n\n<main>\n <section class=\"quiz-section\">\n <h2>Discover Your True Calling</h2>\n <div class=\"quiz-container\">\n <div class=\"question\">\n <p>1. Do you feel fulfilled in your current engineering career?</p>\n <div class=\"options\">\n <button data-value=\"engineering\">Yes</button>\n <button data-value=\"spirituality\">No</button>\n </div>\n </div>\n <div class=\"question\">\n <p>2. Are you drawn to a life of service and spiritual growth?</p>\n <div class=\"options\">\n <button data-value=\"spirituality\">Yes</button>\n <button data-value=\"engineering\">No</button>\n </div>\n </div>\n <div class=\"question\">\n <p>3. Do you feel a deeper purpose beyond material success?</p>\n <div class=\"options\">\n <button data-value=\"spirituality\">Yes</button>\n <button data-value=\"engineering\">No</button>\n </div>\n </div>\n </div>\n <div class=\"result\">\n <h3>Your Path:</h3>\n <p id=\"result-text\"></p>\n </div>\n </section>\n\n <section class=\"info-section\">\n <h2>Explore Both Paths</h2>\n <div class=\"info-cards\">\n <div class=\"card\">\n <h3>Engineering</h3>\n <p>Engineering offers a stable career, innovation opportunities, and the chance to solve real-world problems. It’s a path of intellectual growth and material success.</p>\n </div>\n <div class=\"card\">\n <h3>Spirituality (ISKCON)</h3>\n <p>ISKCON focuses on spiritual growth, self-realization, and serving humanity. It’s a path of inner peace, devotion, and connecting with a higher purpose.</p>\n </div>\n </div>\n </section>\n</main>\n\n<footer>\n <p>Take your time. Reflect. Choose wisely.</p>\n</footer>\n---style.css---\n:root {\n --primary-color: #4CAF50;\n --secondary-color: #FFC107;\n --background-color: #f4f4f4;\n --text-color: #333;\n --font-family: 'Arial', 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\n.hero {\n background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));\n color: white;\n text-align: center;\n padding: 60px 20px;\n}\n\n.hero h1 {\n font-size: 2.5rem;\n margin-bottom: 10px;\n}\n\n.hero p {\n font-size: 1.2rem;\n}\n\nmain {\n padding: 20px;\n}\n\n.quiz-section {\n max-width: 600px;\n margin: 0 auto;\n text-align: center;\n}\n\n.quiz-container {\n background: white;\n padding: 20px;\n border-radius: 10px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\n.question {\n margin-bottom: 20px;\n}\n\n.options button {\n background: var(--primary-color);\n color: white;\n border: none;\n padding: 10px 20px;\n margin: 5px;\n border-radius: 5px;\n cursor: pointer;\n transition: background 0.3s ease;\n}\n\n.options button:hover {\n background: var(--secondary-color);\n}\n\n.result {\n margin-top: 20px;\n}\n\n.info-section {\n max-width: 800px;\n margin: 40px auto;\n}\n\n.info-cards {\n display: flex;\n gap: 20px;\n flex-wrap: wrap;\n}\n\n.card {\n background: white;\n padding: 20px;\n border-radius: 10px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n flex: 1 1 calc(50% - 20px);\n}\n\n.card h3 {\n color: var(--primary-color);\n margin-bottom: 10px;\n}\n\nfooter {\n text-align: center;\n padding: 20px;\n background: var(--primary-color);\n color: white;\n margin-top: 40px;\n}\n\n@media (max-width: 768px) {\n .info-cards {\n flex-direction: column;\n }\n\n .card {\n flex: 1 1 100%;\n }\n}\n---script.js---\ndocument.addEventListener('DOMContentLoaded', () => {\n const questions = document.querySelectorAll('.question');\n const resultText = document.getElementById('result-text');\n let engineeringScore = 0;\n let spiritualityScore = 0;\n\n questions.forEach((question, index) => {\n const buttons = question.querySelectorAll('button');\n buttons.forEach(button => {\n button.addEventListener('click', () => {\n if (button.dataset.value === 'engineering') {\n engineeringScore++;\n } else {\n spiritualityScore++;\n }\n question.style.display = 'none';\n if (index === questions.length - 1) {\n showResult();\n }\n });\n });\n });\n\n function showResult() {\n if (engineeringScore > spiritualityScore) {\n resultText.textContent = 'Continue Engineering';\n } else if (spiritualityScore > engineeringScore) {\n resultText.textContent = 'Switch to Spirituality (ISKCON)';\n } else {\n resultText.textContent = 'Take more time to reflect. Both paths have value.';\n }\n }\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 260, + "completion_tokens": 1396, + "total_tokens": 1656, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 260 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..789f9b4 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# decide1.scroll.pub +Website generated by DeepSeek from prompt: i want to create a website which help me decide if i should continue my engineering or switch to sprituality(ISKON \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..3fa1090 --- /dev/null +++ b/script.js @@ -0,0 +1,33 @@ +document.addEventListener('DOMContentLoaded', () => { + const questions = document.querySelectorAll('.question'); + const resultText = document.getElementById('result-text'); + let engineeringScore = 0; + let spiritualityScore = 0; + + questions.forEach((question, index) => { + const buttons = question.querySelectorAll('button'); + buttons.forEach(button => { + button.addEventListener('click', () => { + if (button.dataset.value === 'engineering') { + engineeringScore++; + } else { + spiritualityScore++; + } + question.style.display = 'none'; + if (index === questions.length - 1) { + showResult(); + } + }); + }); + }); + + function showResult() { + if (engineeringScore > spiritualityScore) { + resultText.textContent = 'Continue Engineering'; + } else if (spiritualityScore > engineeringScore) { + resultText.textContent = 'Switch to Spirituality (ISKCON)'; + } else { + resultText.textContent = 'Take more time to reflect. Both paths have value.'; + } + } +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..9d7f3a9 --- /dev/null +++ b/style.css @@ -0,0 +1,114 @@ +:root { + --primary-color: #4CAF50; + --secondary-color: #FFC107; + --background-color: #f4f4f4; + --text-color: #333; + --font-family: 'Arial', 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; +} + +.hero { + background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); + color: white; + text-align: center; + padding: 60px 20px; +} + +.hero h1 { + font-size: 2.5rem; + margin-bottom: 10px; +} + +.hero p { + font-size: 1.2rem; +} + +main { + padding: 20px; +} + +.quiz-section { + max-width: 600px; + margin: 0 auto; + text-align: center; +} + +.quiz-container { + background: white; + padding: 20px; + border-radius: 10px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); +} + +.question { + margin-bottom: 20px; +} + +.options button { + background: var(--primary-color); + color: white; + border: none; + padding: 10px 20px; + margin: 5px; + border-radius: 5px; + cursor: pointer; + transition: background 0.3s ease; +} + +.options button:hover { + background: var(--secondary-color); +} + +.result { + margin-top: 20px; +} + +.info-section { + max-width: 800px; + margin: 40px auto; +} + +.info-cards { + display: flex; + gap: 20px; + flex-wrap: wrap; +} + +.card { + background: white; + padding: 20px; + border-radius: 10px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + flex: 1 1 calc(50% - 20px); +} + +.card h3 { + color: var(--primary-color); + margin-bottom: 10px; +} + +footer { + text-align: center; + padding: 20px; + background: var(--primary-color); + color: white; + margin-top: 40px; +} + +@media (max-width: 768px) { + .info-cards { + flex-direction: column; + } + + .card { + flex: 1 1 100%; + } +} \ No newline at end of file