commit f0f47976eb29c32c70dd28a2f7e611bb209780dd
Author: root <root@hub.scroll.pub> Date: 2025-01-02 10:36:32 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..87bb655 --- /dev/null +++ b/body.html @@ -0,0 +1,44 @@ +<header> + <h1>Decide Your Path</h1> + <p>Master Program, Finance, or Tech Industry?</p> +</header> +<main> + <section id="quiz"> + <h2>Take the Quiz</h2> + <form id="decisionQuiz"> + <div class="question"> + <label for="q1">What is your primary career goal?</label> + <select id="q1" name="q1"> + <option value="master">Deepen my expertise in a specific field</option> + <option value="finance">Achieve financial success and stability</option> + <option value="tech">Innovate and work with cutting-edge technology</option> + </select> + </div> + <div class="question"> + <label for="q2">How do you prefer to work?</label> + <select id="q2" name="q2"> + <option value="master">Independently on research and projects</option> + <option value="finance">In a fast-paced, results-driven environment</option> + <option value="tech">Collaboratively in a creative and dynamic team</option> + </select> + </div> + <div class="question"> + <label for="q3">What is your long-term vision?</label> + <select id="q3" name="q3"> + <option value="master">Contribute to academic or specialized knowledge</option> + <option value="finance">Climb the corporate ladder and manage wealth</option> + <option value="tech">Develop innovative solutions and products</option> + </select> + </div> + <button type="submit">Get My Path</button> + </form> + </section> + <section id="result" class="hidden"> + <h2>Your Recommended Path</h2> + <p id="pathResult"></p> + <button id="retakeQuiz">Retake Quiz</button> + </section> +</main> +<footer> + <p>Made with clarity and purpose.</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..3c23273 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://decide.scroll.pub +metaTags +editButton /edit.html +title Decide Your Path: Master Program vs. Finance vs. Tech +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..571661d --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "009db7a2-e021-4341-aefc-90e535ba4e7f", + "object": "chat.completion", + "created": 1735814173, + "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 Decide Your Path: Master Program vs. Finance vs. Tech\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>Decide Your Path</h1>\n <p>Master Program, Finance, or Tech Industry?</p>\n</header>\n<main>\n <section id=\"quiz\">\n <h2>Take the Quiz</h2>\n <form id=\"decisionQuiz\">\n <div class=\"question\">\n <label for=\"q1\">What is your primary career goal?</label>\n <select id=\"q1\" name=\"q1\">\n <option value=\"master\">Deepen my expertise in a specific field</option>\n <option value=\"finance\">Achieve financial success and stability</option>\n <option value=\"tech\">Innovate and work with cutting-edge technology</option>\n </select>\n </div>\n <div class=\"question\">\n <label for=\"q2\">How do you prefer to work?</label>\n <select id=\"q2\" name=\"q2\">\n <option value=\"master\">Independently on research and projects</option>\n <option value=\"finance\">In a fast-paced, results-driven environment</option>\n <option value=\"tech\">Collaboratively in a creative and dynamic team</option>\n </select>\n </div>\n <div class=\"question\">\n <label for=\"q3\">What is your long-term vision?</label>\n <select id=\"q3\" name=\"q3\">\n <option value=\"master\">Contribute to academic or specialized knowledge</option>\n <option value=\"finance\">Climb the corporate ladder and manage wealth</option>\n <option value=\"tech\">Develop innovative solutions and products</option>\n </select>\n </div>\n <button type=\"submit\">Get My Path</button>\n </form>\n </section>\n <section id=\"result\" class=\"hidden\">\n <h2>Your Recommended Path</h2>\n <p id=\"pathResult\"></p>\n <button id=\"retakeQuiz\">Retake Quiz</button>\n </section>\n</main>\n<footer>\n <p>Made with clarity and purpose.</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: #f4f4f4;\n color: #333;\n}\n\nheader {\n background: #0056b3;\n color: #fff;\n padding: 20px 0;\n text-align: center;\n}\n\nmain {\n padding: 20px;\n}\n\n#quiz, #result {\n background: #fff;\n margin: 20px auto;\n padding: 20px;\n border-radius: 8px;\n box-shadow: 0 2px 4px rgba(0,0,0,0.1);\n max-width: 600px;\n}\n\n.question {\n margin-bottom: 20px;\n}\n\nlabel {\n display: block;\n margin-bottom: 5px;\n}\n\nselect, button {\n width: 100%;\n padding: 10px;\n margin-top: 5px;\n border-radius: 4px;\n border: 1px solid #ddd;\n}\n\nbutton {\n background: #0056b3;\n color: #fff;\n border: none;\n cursor: pointer;\n}\n\nbutton:hover {\n background: #004494;\n}\n\n#result {\n text-align: center;\n}\n\n.hidden {\n display: none;\n}\n\nfooter {\n text-align: center;\n padding: 20px;\n background: #333;\n color: #fff;\n margin-top: 20px;\n}\n---script.js---\ndocument.getElementById('decisionQuiz').addEventListener('submit', function(event) {\n event.preventDefault();\n const q1 = document.getElementById('q1').value;\n const q2 = document.getElementById('q2').value;\n const q3 = document.getElementById('q3').value;\n\n const results = { master: 0, finance: 0, tech: 0 };\n results[q1]++;\n results[q2]++;\n results[q3]++;\n\n let recommendedPath = 'master';\n if (results.finance > results[recommendedPath]) recommendedPath = 'finance';\n if (results.tech > results[recommendedPath]) recommendedPath = 'tech';\n\n document.getElementById('pathResult').textContent = `You should consider the ${recommendedPath.toUpperCase()} path.`;\n document.getElementById('quiz').classList.add('hidden');\n document.getElementById('result').classList.remove('hidden');\n});\n\ndocument.getElementById('retakeQuiz').addEventListener('click', function() {\n document.getElementById('result').classList.add('hidden');\n document.getElementById('quiz').classList.remove('hidden');\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 259, + "completion_tokens": 1083, + "total_tokens": 1342, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 259 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..f2930da --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# decide3.scroll.pub +Website generated by DeepSeek from prompt: i want a website that will help me to decide whether to join the master program or going to work in finance or tech industry \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..306fab2 --- /dev/null +++ b/script.js @@ -0,0 +1,24 @@ +document.getElementById('decisionQuiz').addEventListener('submit', function(event) { + event.preventDefault(); + const q1 = document.getElementById('q1').value; + const q2 = document.getElementById('q2').value; + const q3 = document.getElementById('q3').value; + + const results = { master: 0, finance: 0, tech: 0 }; + results[q1]++; + results[q2]++; + results[q3]++; + + let recommendedPath = 'master'; + if (results.finance > results[recommendedPath]) recommendedPath = 'finance'; + if (results.tech > results[recommendedPath]) recommendedPath = 'tech'; + + document.getElementById('pathResult').textContent = `You should consider the ${recommendedPath.toUpperCase()} path.`; + document.getElementById('quiz').classList.add('hidden'); + document.getElementById('result').classList.remove('hidden'); +}); + +document.getElementById('retakeQuiz').addEventListener('click', function() { + document.getElementById('result').classList.add('hidden'); + document.getElementById('quiz').classList.remove('hidden'); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..c7a34e1 --- /dev/null +++ b/style.css @@ -0,0 +1,72 @@ +body { + font-family: 'Arial', sans-serif; + line-height: 1.6; + margin: 0; + padding: 0; + background: #f4f4f4; + color: #333; +} + +header { + background: #0056b3; + color: #fff; + padding: 20px 0; + text-align: center; +} + +main { + padding: 20px; +} + +#quiz, #result { + background: #fff; + margin: 20px auto; + padding: 20px; + border-radius: 8px; + box-shadow: 0 2px 4px rgba(0,0,0,0.1); + max-width: 600px; +} + +.question { + margin-bottom: 20px; +} + +label { + display: block; + margin-bottom: 5px; +} + +select, button { + width: 100%; + padding: 10px; + margin-top: 5px; + border-radius: 4px; + border: 1px solid #ddd; +} + +button { + background: #0056b3; + color: #fff; + border: none; + cursor: pointer; +} + +button:hover { + background: #004494; +} + +#result { + text-align: center; +} + +.hidden { + display: none; +} + +footer { + text-align: center; + padding: 20px; + background: #333; + color: #fff; + margin-top: 20px; +} \ No newline at end of file