commit 8d59a5073caa81c7014555e003ca09c37611d1dd
Author: root <root@hub.scroll.pub> Date: 2024-12-28 09:47:01 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..eae259e --- /dev/null +++ b/body.html @@ -0,0 +1,60 @@ +<header> + <h1>Should I Continue My Online Relationship?</h1> + <p>Use this interactive tool to evaluate your online relationship with a Spanish man who has strong sexual desires.</p> +</header> + +<main> + <section id="quiz"> + <h2>Relationship Quiz</h2> + <form id="relationshipQuiz"> + <div class="question"> + <label for="q1">How often do you communicate?</label> + <select id="q1"> + <option value="1">Daily</option> + <option value="2">Several times a week</option> + <option value="3">Once a week</option> + <option value="4">Rarely</option> + </select> + </div> + <div class="question"> + <label for="q2">How do you feel about his sexual desires?</label> + <select id="q2"> + <option value="1">Comfortable and mutual</option> + <option value="2">Comfortable but one-sided</option> + <option value="3">Uncomfortable but manageable</option> + <option value="4">Very uncomfortable</option> + </select> + </div> + <div class="question"> + <label for="q3">Do you share common interests beyond physical attraction?</label> + <select id="q3"> + <option value="1">Yes, many</option> + <option value="2">A few</option> + <option value="3">Not really</option> + <option value="4">None</option> + </select> + </div> + <div class="question"> + <label for="q4">How do you see the future of this relationship?</label> + <select id="q4"> + <option value="1">Very positive</option> + <option value="2">Somewhat positive</option> + <option value="3">Uncertain</option> + <option value="4">Negative</option> + </select> + </div> + <button type="submit">Evaluate</button> + </form> + </section> + + <section id="result" class="hidden"> + <h2>Your Relationship Score</h2> + <p id="scoreText"></p> + <p id="adviceText"></p> + <button id="retry">Try Again</button> + </section> +</main> + +<footer> + <p>This tool is designed to help you reflect on your online relationship. Always trust your instincts and prioritize your well-being.</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..0b14af2 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://decidelove.scroll.pub +metaTags +editButton /edit.html +title Should I Continue My Online Relationship? +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..ebeafa2 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "3fd0a536-50d7-45c1-945b-bc8a37834b2d", + "object": "chat.completion", + "created": 1735379201, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\ndecidelove.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://decidelove.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Should I Continue My Online Relationship?\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>Should I Continue My Online Relationship?</h1>\n <p>Use this interactive tool to evaluate your online relationship with a Spanish man who has strong sexual desires.</p>\n</header>\n\n<main>\n <section id=\"quiz\">\n <h2>Relationship Quiz</h2>\n <form id=\"relationshipQuiz\">\n <div class=\"question\">\n <label for=\"q1\">How often do you communicate?</label>\n <select id=\"q1\">\n <option value=\"1\">Daily</option>\n <option value=\"2\">Several times a week</option>\n <option value=\"3\">Once a week</option>\n <option value=\"4\">Rarely</option>\n </select>\n </div>\n <div class=\"question\">\n <label for=\"q2\">How do you feel about his sexual desires?</label>\n <select id=\"q2\">\n <option value=\"1\">Comfortable and mutual</option>\n <option value=\"2\">Comfortable but one-sided</option>\n <option value=\"3\">Uncomfortable but manageable</option>\n <option value=\"4\">Very uncomfortable</option>\n </select>\n </div>\n <div class=\"question\">\n <label for=\"q3\">Do you share common interests beyond physical attraction?</label>\n <select id=\"q3\">\n <option value=\"1\">Yes, many</option>\n <option value=\"2\">A few</option>\n <option value=\"3\">Not really</option>\n <option value=\"4\">None</option>\n </select>\n </div>\n <div class=\"question\">\n <label for=\"q4\">How do you see the future of this relationship?</label>\n <select id=\"q4\">\n <option value=\"1\">Very positive</option>\n <option value=\"2\">Somewhat positive</option>\n <option value=\"3\">Uncertain</option>\n <option value=\"4\">Negative</option>\n </select>\n </div>\n <button type=\"submit\">Evaluate</button>\n </form>\n </section>\n\n <section id=\"result\" class=\"hidden\">\n <h2>Your Relationship Score</h2>\n <p id=\"scoreText\"></p>\n <p id=\"adviceText\"></p>\n <button id=\"retry\">Try Again</button>\n </section>\n</main>\n\n<footer>\n <p>This tool is designed to help you reflect on your online relationship. Always trust your instincts and prioritize your well-being.</p>\n</footer>\n---style.css---\nbody {\n font-family: 'Arial', sans-serif;\n line-height: 1.6;\n margin: 0;\n padding: 0;\n background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);\n color: #333;\n}\n\nheader {\n text-align: center;\n padding: 2rem;\n background: rgba(255, 255, 255, 0.8);\n margin-bottom: 2rem;\n}\n\nh1 {\n font-size: 2.5rem;\n color: #d32f2f;\n}\n\nmain {\n padding: 1rem;\n max-width: 600px;\n margin: 0 auto;\n}\n\n.question {\n margin-bottom: 1.5rem;\n}\n\nlabel {\n display: block;\n margin-bottom: 0.5rem;\n font-weight: bold;\n}\n\nselect {\n width: 100%;\n padding: 0.5rem;\n border-radius: 5px;\n border: 1px solid #ccc;\n}\n\nbutton {\n display: block;\n width: 100%;\n padding: 0.75rem;\n background: #d32f2f;\n color: white;\n border: none;\n border-radius: 5px;\n cursor: pointer;\n font-size: 1rem;\n}\n\nbutton:hover {\n background: #b71c1c;\n}\n\n#result {\n text-align: center;\n padding: 2rem;\n background: rgba(255, 255, 255, 0.8);\n border-radius: 10px;\n margin-top: 2rem;\n}\n\n.hidden {\n display: none;\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background: rgba(255, 255, 255, 0.8);\n margin-top: 2rem;\n}\n---script.js---\ndocument.getElementById('relationshipQuiz').addEventListener('submit', function(event) {\n event.preventDefault();\n\n const q1 = parseInt(document.getElementById('q1').value);\n const q2 = parseInt(document.getElementById('q2').value);\n const q3 = parseInt(document.getElementById('q3').value);\n const q4 = parseInt(document.getElementById('q4').value);\n\n const totalScore = q1 + q2 + q3 + q4;\n\n let advice = '';\n if (totalScore <= 6) {\n advice = 'It might be best to reconsider this relationship. Your well-being should always come first.';\n } else if (totalScore <= 10) {\n advice = 'There are some concerns, but with open communication, you might be able to work through them.';\n } else {\n advice = 'Your relationship seems positive. Continue to nurture it with honesty and mutual respect.';\n }\n\n document.getElementById('scoreText').textContent = `Your score: ${totalScore}`;\n document.getElementById('adviceText').textContent = advice;\n document.getElementById('quiz').classList.add('hidden');\n document.getElementById('result').classList.remove('hidden');\n});\n\ndocument.getElementById('retry').addEventListener('click', function() {\n document.getElementById('quiz').classList.remove('hidden');\n document.getElementById('result').classList.add('hidden');\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 276, + "completion_tokens": 1336, + "total_tokens": 1612, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 276 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..f165402 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# decidelove.scroll.pub +Website generated by DeepSeek from prompt: I want a website that will help me decide if I should continue my online relatoinship with a Spanish man who has strong sexual desire. So it should have some numerical tools and interactivity. Be creative. \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..744f28d --- /dev/null +++ b/script.js @@ -0,0 +1,29 @@ +document.getElementById('relationshipQuiz').addEventListener('submit', function(event) { + event.preventDefault(); + + const q1 = parseInt(document.getElementById('q1').value); + const q2 = parseInt(document.getElementById('q2').value); + const q3 = parseInt(document.getElementById('q3').value); + const q4 = parseInt(document.getElementById('q4').value); + + const totalScore = q1 + q2 + q3 + q4; + + let advice = ''; + if (totalScore <= 6) { + advice = 'It might be best to reconsider this relationship. Your well-being should always come first.'; + } else if (totalScore <= 10) { + advice = 'There are some concerns, but with open communication, you might be able to work through them.'; + } else { + advice = 'Your relationship seems positive. Continue to nurture it with honesty and mutual respect.'; + } + + document.getElementById('scoreText').textContent = `Your score: ${totalScore}`; + document.getElementById('adviceText').textContent = advice; + document.getElementById('quiz').classList.add('hidden'); + document.getElementById('result').classList.remove('hidden'); +}); + +document.getElementById('retry').addEventListener('click', function() { + document.getElementById('quiz').classList.remove('hidden'); + document.getElementById('result').classList.add('hidden'); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..78454cf --- /dev/null +++ b/style.css @@ -0,0 +1,78 @@ +body { + font-family: 'Arial', sans-serif; + line-height: 1.6; + margin: 0; + padding: 0; + background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%); + color: #333; +} + +header { + text-align: center; + padding: 2rem; + background: rgba(255, 255, 255, 0.8); + margin-bottom: 2rem; +} + +h1 { + font-size: 2.5rem; + color: #d32f2f; +} + +main { + padding: 1rem; + max-width: 600px; + margin: 0 auto; +} + +.question { + margin-bottom: 1.5rem; +} + +label { + display: block; + margin-bottom: 0.5rem; + font-weight: bold; +} + +select { + width: 100%; + padding: 0.5rem; + border-radius: 5px; + border: 1px solid #ccc; +} + +button { + display: block; + width: 100%; + padding: 0.75rem; + background: #d32f2f; + color: white; + border: none; + border-radius: 5px; + cursor: pointer; + font-size: 1rem; +} + +button:hover { + background: #b71c1c; +} + +#result { + text-align: center; + padding: 2rem; + background: rgba(255, 255, 255, 0.8); + border-radius: 10px; + margin-top: 2rem; +} + +.hidden { + display: none; +} + +footer { + text-align: center; + padding: 1rem; + background: rgba(255, 255, 255, 0.8); + margin-top: 2rem; +} \ No newline at end of file