commit bf962565765ee33132aac9ed9fc2009c9af79b4d
Author: root <root@hub.scroll.pub> Date: 2025-01-02 18:13:35 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..00f1b67 --- /dev/null +++ b/body.html @@ -0,0 +1,50 @@ +<header> + <h1>Should You Quit Your Job for AI Content Production?</h1> + <p>Take this funky analysis to assess your next career move!</p> +</header> +<main> + <section id="quiz"> + <h2>Quiz Time!</h2> + <form id="careerQuiz"> + <div class="question"> + <label for="q1">How passionate are you about AI and content creation?</label> + <select id="q1"> + <option value="1">Not at all</option> + <option value="2">A little</option> + <option value="3">Moderately</option> + <option value="4">Very</option> + <option value="5">Extremely</option> + </select> + </div> + <div class="question"> + <label for="q2">How stable is your current job?</label> + <select id="q2"> + <option value="1">Very unstable</option> + <option value="2">Somewhat unstable</option> + <option value="3">Neutral</option> + <option value="4">Somewhat stable</option> + <option value="5">Very stable</option> + </select> + </div> + <div class="question"> + <label for="q3">How much savings do you have to support yourself during the transition?</label> + <select id="q3"> + <option value="1">None</option> + <option value="2">1-3 months</option> + <option value="3">3-6 months</option> + <option value="4">6-12 months</option> + <option value="5">More than a year</option> + </select> + </div> + <button type="submit">Get Results</button> + </form> + </section> + <section id="results" class="hidden"> + <h2>Your Results</h2> + <p id="resultText"></p> + <button id="retakeQuiz">Retake Quiz</button> + </section> +</main> +<footer> + <p>Made with ❤️ by AI Quiz</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..abfa9fe --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://aiquiz.scroll.pub +metaTags +editButton /edit.html +title Should I Quit My Job for AI Content Production? +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..7b1294f --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "3560c0d8-1756-4144-bc5c-855d785fa12a", + "object": "chat.completion", + "created": 1735841594, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\naiquiz.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://aiquiz.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Should I Quit My Job for AI Content Production?\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>Should You Quit Your Job for AI Content Production?</h1>\n <p>Take this funky analysis to assess your next career move!</p>\n</header>\n<main>\n <section id=\"quiz\">\n <h2>Quiz Time!</h2>\n <form id=\"careerQuiz\">\n <div class=\"question\">\n <label for=\"q1\">How passionate are you about AI and content creation?</label>\n <select id=\"q1\">\n <option value=\"1\">Not at all</option>\n <option value=\"2\">A little</option>\n <option value=\"3\">Moderately</option>\n <option value=\"4\">Very</option>\n <option value=\"5\">Extremely</option>\n </select>\n </div>\n <div class=\"question\">\n <label for=\"q2\">How stable is your current job?</label>\n <select id=\"q2\">\n <option value=\"1\">Very unstable</option>\n <option value=\"2\">Somewhat unstable</option>\n <option value=\"3\">Neutral</option>\n <option value=\"4\">Somewhat stable</option>\n <option value=\"5\">Very stable</option>\n </select>\n </div>\n <div class=\"question\">\n <label for=\"q3\">How much savings do you have to support yourself during the transition?</label>\n <select id=\"q3\">\n <option value=\"1\">None</option>\n <option value=\"2\">1-3 months</option>\n <option value=\"3\">3-6 months</option>\n <option value=\"4\">6-12 months</option>\n <option value=\"5\">More than a year</option>\n </select>\n </div>\n <button type=\"submit\">Get Results</button>\n </form>\n </section>\n <section id=\"results\" class=\"hidden\">\n <h2>Your Results</h2>\n <p id=\"resultText\"></p>\n <button id=\"retakeQuiz\">Retake Quiz</button>\n </section>\n</main>\n<footer>\n <p>Made with ❤️ by AI Quiz</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, #f5f7fa, #c3cfe2);\n color: #333;\n}\n\nheader {\n text-align: center;\n padding: 2rem;\n background: #4a90e2;\n color: white;\n}\n\nh1 {\n font-size: 2.5rem;\n margin-bottom: 0.5rem;\n}\n\np {\n font-size: 1.2rem;\n}\n\nmain {\n padding: 2rem;\n}\n\nsection {\n background: white;\n padding: 2rem;\n border-radius: 10px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n margin-bottom: 2rem;\n}\n\n.question {\n margin-bottom: 1.5rem;\n}\n\nlabel {\n display: block;\n font-weight: bold;\n margin-bottom: 0.5rem;\n}\n\nselect, button {\n width: 100%;\n padding: 0.5rem;\n font-size: 1rem;\n border-radius: 5px;\n border: 1px solid #ccc;\n}\n\nbutton {\n background: #4a90e2;\n color: white;\n border: none;\n cursor: pointer;\n}\n\nbutton:hover {\n background: #357abd;\n}\n\n.hidden {\n display: none;\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background: #4a90e2;\n color: white;\n margin-top: 2rem;\n}\n\n@media (max-width: 768px) {\n h1 {\n font-size: 2rem;\n }\n\n p {\n font-size: 1rem;\n }\n\n main {\n padding: 1rem;\n }\n\n section {\n padding: 1rem;\n }\n}\n---script.js---\ndocument.getElementById('careerQuiz').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\n const totalScore = q1 + q2 + q3;\n\n let resultText = '';\n if (totalScore <= 6) {\n resultText = 'Stay in your current job for now. Focus on building skills and savings before making the leap.';\n } else if (totalScore <= 12) {\n resultText = 'Consider a gradual transition. Start with AI content production as a side hustle.';\n } else {\n resultText = 'Go for it! You have the passion, stability, and resources to make the leap into AI content production.';\n }\n\n document.getElementById('resultText').textContent = resultText;\n document.getElementById('quiz').classList.add('hidden');\n document.getElementById('results').classList.remove('hidden');\n});\n\ndocument.getElementById('retakeQuiz').addEventListener('click', function() {\n document.getElementById('quiz').classList.remove('hidden');\n document.getElementById('results').classList.add('hidden');\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 267, + "completion_tokens": 1258, + "total_tokens": 1525, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 267 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..f02fe96 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# aiquiz.scroll.pub +Website generated by DeepSeek from prompt: Build a website where I want to assess if I should quit my boring job and get full time in AI content production and education do some funky analysis and be creative \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..e6ceca7 --- /dev/null +++ b/script.js @@ -0,0 +1,27 @@ +document.getElementById('careerQuiz').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 totalScore = q1 + q2 + q3; + + let resultText = ''; + if (totalScore <= 6) { + resultText = 'Stay in your current job for now. Focus on building skills and savings before making the leap.'; + } else if (totalScore <= 12) { + resultText = 'Consider a gradual transition. Start with AI content production as a side hustle.'; + } else { + resultText = 'Go for it! You have the passion, stability, and resources to make the leap into AI content production.'; + } + + document.getElementById('resultText').textContent = resultText; + document.getElementById('quiz').classList.add('hidden'); + document.getElementById('results').classList.remove('hidden'); +}); + +document.getElementById('retakeQuiz').addEventListener('click', function() { + document.getElementById('quiz').classList.remove('hidden'); + document.getElementById('results').classList.add('hidden'); +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..6a7133f --- /dev/null +++ b/style.css @@ -0,0 +1,95 @@ +body { + font-family: 'Arial', sans-serif; + line-height: 1.6; + margin: 0; + padding: 0; + background: linear-gradient(135deg, #f5f7fa, #c3cfe2); + color: #333; +} + +header { + text-align: center; + padding: 2rem; + background: #4a90e2; + color: white; +} + +h1 { + font-size: 2.5rem; + margin-bottom: 0.5rem; +} + +p { + font-size: 1.2rem; +} + +main { + padding: 2rem; +} + +section { + background: white; + padding: 2rem; + border-radius: 10px; + box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); + margin-bottom: 2rem; +} + +.question { + margin-bottom: 1.5rem; +} + +label { + display: block; + font-weight: bold; + margin-bottom: 0.5rem; +} + +select, button { + width: 100%; + padding: 0.5rem; + font-size: 1rem; + border-radius: 5px; + border: 1px solid #ccc; +} + +button { + background: #4a90e2; + color: white; + border: none; + cursor: pointer; +} + +button:hover { + background: #357abd; +} + +.hidden { + display: none; +} + +footer { + text-align: center; + padding: 1rem; + background: #4a90e2; + color: white; + margin-top: 2rem; +} + +@media (max-width: 768px) { + h1 { + font-size: 2rem; + } + + p { + font-size: 1rem; + } + + main { + padding: 1rem; + } + + section { + padding: 1rem; + } +} \ No newline at end of file