commit 4df372a045afbf2aa6b726b0a3c3c2da0509dfd8
Author: root <root@hub.scroll.pub> Date: 2024-12-28 06:43:26 +0000 Subject: Initial commit diff --git a/body.html b/body.html new file mode 100644 index 0000000..bf50703 --- /dev/null +++ b/body.html @@ -0,0 +1,63 @@ +<header> + <h1>Should I Quit My Job for an MBA in the US?</h1> + <p>Take the first step towards making one of the most important decisions of your career.</p> +</header> + +<main> + <section class="intro"> + <h2>Welcome to Your Decision-Making Journey</h2> + <p>Choosing between staying in your current job or pursuing an MBA in the United States is a significant decision. This website is designed to help you weigh the pros and cons, understand the financial implications, and explore your career aspirations.</p> + </section> + + <section class="quiz"> + <h2>Take the Quiz</h2> + <p>Answer a few questions to get personalized insights.</p> + <form id="mbaQuiz"> + <div class="question"> + <label for="q1">1. How satisfied are you with your current job?</label> + <select id="q1" name="q1"> + <option value="1">Very Dissatisfied</option> + <option value="2">Dissatisfied</option> + <option value="3">Neutral</option> + <option value="4">Satisfied</option> + <option value="5">Very Satisfied</option> + </select> + </div> + <div class="question"> + <label for="q2">2. What is your primary motivation for pursuing an MBA?</label> + <select id="q2" name="q2"> + <option value="1">Career Change</option> + <option value="2">Higher Salary</option> + <option value="3">Networking</option> + <option value="4">Personal Growth</option> + <option value="5">Entrepreneurship</option> + </select> + </div> + <div class="question"> + <label for="q3">3. How much can you afford to invest in an MBA?</label> + <select id="q3" name="q3"> + <option value="1">Less than $50,000</option> + <option value="2">$50,000 - $100,000</option> + <option value="3">$100,000 - $150,000</option> + <option value="4">$150,000 - $200,000</option> + <option value="5">More than $200,000</option> + </select> + </div> + <button type="submit">Get Insights</button> + </form> + <div id="quizResult" class="result"></div> + </section> + + <section class="resources"> + <h2>Resources</h2> + <ul> + <li><a href="/financial-calculator">Financial Calculator</a></li> + <li><a href="/mba-programs">Top MBA Programs in the US</a></li> + <li><a href="/success-stories">Success Stories</a></li> + </ul> + </section> +</main> + +<footer> + <p>Made with ❤️ for career adventurers</p> +</footer> \ No newline at end of file diff --git a/index.scroll b/index.scroll new file mode 100644 index 0000000..dfb8746 --- /dev/null +++ b/index.scroll @@ -0,0 +1,8 @@ +buildHtml +baseUrl https://mbaquest.scroll.pub +metaTags +editButton /edit.html +title Should I Quit My Job for an MBA in the US? +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..a7e5aa7 --- /dev/null +++ b/prompt.json @@ -0,0 +1,25 @@ +{ + "id": "873ba941-630e-40af-82b4-db0371a49dbb", + "object": "chat.completion", + "created": 1735368185, + "model": "deepseek-chat", + "choices": [ + { + "index": 0, + "message": { + "role": "assistant", + "content": "---domain---\nmbaquest.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://mbaquest.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Should I Quit My Job for an MBA in the US?\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>Should I Quit My Job for an MBA in the US?</h1>\n <p>Take the first step towards making one of the most important decisions of your career.</p>\n</header>\n\n<main>\n <section class=\"intro\">\n <h2>Welcome to Your Decision-Making Journey</h2>\n <p>Choosing between staying in your current job or pursuing an MBA in the United States is a significant decision. This website is designed to help you weigh the pros and cons, understand the financial implications, and explore your career aspirations.</p>\n </section>\n\n <section class=\"quiz\">\n <h2>Take the Quiz</h2>\n <p>Answer a few questions to get personalized insights.</p>\n <form id=\"mbaQuiz\">\n <div class=\"question\">\n <label for=\"q1\">1. How satisfied are you with your current job?</label>\n <select id=\"q1\" name=\"q1\">\n <option value=\"1\">Very Dissatisfied</option>\n <option value=\"2\">Dissatisfied</option>\n <option value=\"3\">Neutral</option>\n <option value=\"4\">Satisfied</option>\n <option value=\"5\">Very Satisfied</option>\n </select>\n </div>\n <div class=\"question\">\n <label for=\"q2\">2. What is your primary motivation for pursuing an MBA?</label>\n <select id=\"q2\" name=\"q2\">\n <option value=\"1\">Career Change</option>\n <option value=\"2\">Higher Salary</option>\n <option value=\"3\">Networking</option>\n <option value=\"4\">Personal Growth</option>\n <option value=\"5\">Entrepreneurship</option>\n </select>\n </div>\n <div class=\"question\">\n <label for=\"q3\">3. How much can you afford to invest in an MBA?</label>\n <select id=\"q3\" name=\"q3\">\n <option value=\"1\">Less than $50,000</option>\n <option value=\"2\">$50,000 - $100,000</option>\n <option value=\"3\">$100,000 - $150,000</option>\n <option value=\"4\">$150,000 - $200,000</option>\n <option value=\"5\">More than $200,000</option>\n </select>\n </div>\n <button type=\"submit\">Get Insights</button>\n </form>\n <div id=\"quizResult\" class=\"result\"></div>\n </section>\n\n <section class=\"resources\">\n <h2>Resources</h2>\n <ul>\n <li><a href=\"/financial-calculator\">Financial Calculator</a></li>\n <li><a href=\"/mba-programs\">Top MBA Programs in the US</a></li>\n <li><a href=\"/success-stories\">Success Stories</a></li>\n </ul>\n </section>\n</main>\n\n<footer>\n <p>Made with ❤️ for career adventurers</p>\n</footer>\n---style.css---\n:root {\n --primary-color: #2c3e50;\n --secondary-color: #3498db;\n --background-color: #ecf0f1;\n --text-color: #2c3e50;\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\nheader {\n background-color: var(--primary-color);\n color: white;\n padding: 2rem;\n text-align: center;\n}\n\nheader h1 {\n margin: 0;\n font-size: 2.5rem;\n}\n\nheader p {\n font-size: 1.2rem;\n}\n\nmain {\n padding: 2rem;\n}\n\nsection {\n margin-bottom: 2rem;\n}\n\nh2 {\n color: var(--secondary-color);\n margin-bottom: 1rem;\n}\n\n.quiz form {\n display: flex;\n flex-direction: column;\n gap: 1rem;\n}\n\n.question {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n}\n\nselect {\n padding: 0.5rem;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\n\nbutton {\n background-color: var(--secondary-color);\n color: white;\n padding: 0.75rem;\n border: none;\n border-radius: 4px;\n cursor: pointer;\n font-size: 1rem;\n}\n\nbutton:hover {\n background-color: #2980b9;\n}\n\n.result {\n margin-top: 1rem;\n padding: 1rem;\n background-color: #fff;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background-color: var(--primary-color);\n color: white;\n margin-top: 2rem;\n}\n\n@media (max-width: 768px) {\n header h1 {\n font-size: 2rem;\n }\n\n header p {\n font-size: 1rem;\n }\n\n main {\n padding: 1rem;\n }\n}\n---script.js---\ndocument.getElementById('mbaQuiz').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 let resultText = '';\n \n if (q1 <= 2 && q2 === 1 && q3 >= 3) {\n resultText = 'Based on your answers, pursuing an MBA in the US might be a great choice for you. It seems you are looking for a career change and have the financial means to support it.';\n } else if (q1 >= 4 && q2 === 2 && q3 <= 2) {\n resultText = 'You seem satisfied with your current job and are primarily motivated by a higher salary. Consider whether the financial investment in an MBA aligns with your goals.';\n } else {\n resultText = 'Your answers suggest a mixed perspective. Take some time to reflect on your career aspirations and financial situation before making a decision.';\n }\n \n document.getElementById('quizResult').innerText = resultText;\n});\n---end---" + }, + "logprobs": null, + "finish_reason": "stop" + } + ], + "usage": { + "prompt_tokens": 256, + "completion_tokens": 1503, + "total_tokens": 1759, + "prompt_cache_hit_tokens": 0, + "prompt_cache_miss_tokens": 256 + }, + "system_fingerprint": "fp_f1afce2943" +} \ No newline at end of file diff --git a/readme.scroll b/readme.scroll new file mode 100644 index 0000000..dcc6cf1 --- /dev/null +++ b/readme.scroll @@ -0,0 +1,2 @@ +# mbaquest.scroll.pub +Website generated by DeepSeek from prompt: help me design a website that help people to choose whether to quit job and do MBA degree in the United States \ No newline at end of file diff --git a/script.js b/script.js new file mode 100644 index 0000000..448746b --- /dev/null +++ b/script.js @@ -0,0 +1,19 @@ +document.getElementById('mbaQuiz').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); + + let resultText = ''; + + if (q1 <= 2 && q2 === 1 && q3 >= 3) { + resultText = 'Based on your answers, pursuing an MBA in the US might be a great choice for you. It seems you are looking for a career change and have the financial means to support it.'; + } else if (q1 >= 4 && q2 === 2 && q3 <= 2) { + resultText = 'You seem satisfied with your current job and are primarily motivated by a higher salary. Consider whether the financial investment in an MBA aligns with your goals.'; + } else { + resultText = 'Your answers suggest a mixed perspective. Take some time to reflect on your career aspirations and financial situation before making a decision.'; + } + + document.getElementById('quizResult').innerText = resultText; +}); \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..d963b86 --- /dev/null +++ b/style.css @@ -0,0 +1,107 @@ +:root { + --primary-color: #2c3e50; + --secondary-color: #3498db; + --background-color: #ecf0f1; + --text-color: #2c3e50; + --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; +} + +header { + background-color: var(--primary-color); + color: white; + padding: 2rem; + text-align: center; +} + +header h1 { + margin: 0; + font-size: 2.5rem; +} + +header p { + font-size: 1.2rem; +} + +main { + padding: 2rem; +} + +section { + margin-bottom: 2rem; +} + +h2 { + color: var(--secondary-color); + margin-bottom: 1rem; +} + +.quiz form { + display: flex; + flex-direction: column; + gap: 1rem; +} + +.question { + display: flex; + flex-direction: column; + gap: 0.5rem; +} + +select { + padding: 0.5rem; + border: 1px solid #ccc; + border-radius: 4px; +} + +button { + background-color: var(--secondary-color); + color: white; + padding: 0.75rem; + border: none; + border-radius: 4px; + cursor: pointer; + font-size: 1rem; +} + +button:hover { + background-color: #2980b9; +} + +.result { + margin-top: 1rem; + padding: 1rem; + background-color: #fff; + border: 1px solid #ccc; + border-radius: 4px; +} + +footer { + text-align: center; + padding: 1rem; + background-color: var(--primary-color); + color: white; + margin-top: 2rem; +} + +@media (max-width: 768px) { + header h1 { + font-size: 2rem; + } + + header p { + font-size: 1rem; + } + + main { + padding: 1rem; + } +} \ No newline at end of file