commit db5bc8aabf613bd57581e2f963690e151c912125
Author: root <root@hub.scroll.pub>
Date: 2024-12-28 02:25:27 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..f2edafb
--- /dev/null
+++ b/body.html
@@ -0,0 +1,49 @@
+<header>
+ <h1>PhD or Not?</h1>
+ <p>Decide whether to continue your PhD journey or pivot to OnlyFans.</p>
+</header>
+<main>
+ <section id="calculator">
+ <h2>Financial Calculator</h2>
+ <form id="financeForm">
+ <label for="phdSalary">Expected PhD Salary (per year):</label>
+ <input type="number" id="phdSalary" name="phdSalary" required>
+ <label for="phdYears">Years to Complete PhD:</label>
+ <input type="number" id="phdYears" name="phdYears" required>
+ <label for="onlyfansEarnings">Potential OnlyFans Earnings (per month):</label>
+ <input type="number" id="onlyfansEarnings" name="onlyfansEarnings" required>
+ <button type="submit">Calculate</button>
+ </form>
+ <div id="results">
+ <h3>Results</h3>
+ <p id="phdTotal"></p>
+ <p id="onlyfansTotal"></p>
+ <p id="recommendation"></p>
+ </div>
+ </section>
+ <section id="quiz">
+ <h2>Personal Quiz</h2>
+ <form id="quizForm">
+ <label for="passion">How passionate are you about your PhD topic?</label>
+ <select id="passion" name="passion">
+ <option value="1">Not at all</option>
+ <option value="2">Somewhat</option>
+ <option value="3">Very</option>
+ </select>
+ <label for="comfort">How comfortable are you with online exposure?</label>
+ <select id="comfort" name="comfort">
+ <option value="1">Not at all</option>
+ <option value="2">Somewhat</option>
+ <option value="3">Very</option>
+ </select>
+ <button type="submit">Get Advice</button>
+ </form>
+ <div id="quizResults">
+ <h3>Quiz Results</h3>
+ <p id="quizRecommendation"></p>
+ </div>
+ </section>
+</main>
+<footer>
+ <p>Made with ❤️ by PhD or Not Team</p>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..d8c6f4d
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://phdornot.scroll.pub
+metaTags
+editButton /edit.html
+title PhD or Not? - Decide Your Future
+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..483a445
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "d5eb7142-babc-434a-afb7-e7e4428eae81",
+ "object": "chat.completion",
+ "created": 1735352709,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nphdornot.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://phdornot.scroll.pub\nmetaTags\neditButton /edit.html\ntitle PhD or Not? - Decide Your Future\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>PhD or Not?</h1>\n <p>Decide whether to continue your PhD journey or pivot to OnlyFans.</p>\n</header>\n<main>\n <section id=\"calculator\">\n <h2>Financial Calculator</h2>\n <form id=\"financeForm\">\n <label for=\"phdSalary\">Expected PhD Salary (per year):</label>\n <input type=\"number\" id=\"phdSalary\" name=\"phdSalary\" required>\n <label for=\"phdYears\">Years to Complete PhD:</label>\n <input type=\"number\" id=\"phdYears\" name=\"phdYears\" required>\n <label for=\"onlyfansEarnings\">Potential OnlyFans Earnings (per month):</label>\n <input type=\"number\" id=\"onlyfansEarnings\" name=\"onlyfansEarnings\" required>\n <button type=\"submit\">Calculate</button>\n </form>\n <div id=\"results\">\n <h3>Results</h3>\n <p id=\"phdTotal\"></p>\n <p id=\"onlyfansTotal\"></p>\n <p id=\"recommendation\"></p>\n </div>\n </section>\n <section id=\"quiz\">\n <h2>Personal Quiz</h2>\n <form id=\"quizForm\">\n <label for=\"passion\">How passionate are you about your PhD topic?</label>\n <select id=\"passion\" name=\"passion\">\n <option value=\"1\">Not at all</option>\n <option value=\"2\">Somewhat</option>\n <option value=\"3\">Very</option>\n </select>\n <label for=\"comfort\">How comfortable are you with online exposure?</label>\n <select id=\"comfort\" name=\"comfort\">\n <option value=\"1\">Not at all</option>\n <option value=\"2\">Somewhat</option>\n <option value=\"3\">Very</option>\n </select>\n <button type=\"submit\">Get Advice</button>\n </form>\n <div id=\"quizResults\">\n <h3>Quiz Results</h3>\n <p id=\"quizRecommendation\"></p>\n </div>\n </section>\n</main>\n<footer>\n <p>Made with ❤️ by PhD or Not Team</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 background: #4a90e2;\n color: white;\n padding: 2rem;\n text-align: center;\n}\n\nmain {\n padding: 2rem;\n}\n\nsection {\n background: white;\n margin: 2rem 0;\n padding: 2rem;\n border-radius: 10px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\nh2 {\n color: #4a90e2;\n}\n\nform {\n display: flex;\n flex-direction: column;\n}\n\nlabel {\n margin: 0.5rem 0 0.2rem;\n}\n\ninput, select, button {\n padding: 0.5rem;\n margin-bottom: 1rem;\n border: 1px solid #ccc;\n border-radius: 5px;\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#results, #quizResults {\n margin-top: 2rem;\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background: #4a90e2;\n color: white;\n margin-top: 2rem;\n}\n---script.js---\ndocument.getElementById('financeForm').addEventListener('submit', function(event) {\n event.preventDefault();\n const phdSalary = parseFloat(document.getElementById('phdSalary').value);\n const phdYears = parseFloat(document.getElementById('phdYears').value);\n const onlyfansEarnings = parseFloat(document.getElementById('onlyfansEarnings').value);\n\n const phdTotal = phdSalary * phdYears;\n const onlyfansTotal = onlyfansEarnings * 12 * phdYears;\n\n document.getElementById('phdTotal').textContent = `Total PhD Earnings: $${phdTotal.toLocaleString()}`;\n document.getElementById('onlyfansTotal').textContent = `Total OnlyFans Earnings: $${onlyfansTotal.toLocaleString()}`;\n\n if (onlyfansTotal > phdTotal) {\n document.getElementById('recommendation').textContent = 'Recommendation: Consider OnlyFans!';\n } else {\n document.getElementById('recommendation').textContent = 'Recommendation: Stick with your PhD!';\n }\n});\n\ndocument.getElementById('quizForm').addEventListener('submit', function(event) {\n event.preventDefault();\n const passion = parseInt(document.getElementById('passion').value);\n const comfort = parseInt(document.getElementById('comfort').value);\n\n if (passion >= 2 && comfort <= 2) {\n document.getElementById('quizRecommendation').textContent = 'Recommendation: Continue your PhD!';\n } else if (passion <= 2 && comfort >= 2) {\n document.getElementById('quizRecommendation').textContent = 'Recommendation: Consider OnlyFans!';\n } else {\n document.getElementById('quizRecommendation').textContent = 'Recommendation: Weigh your options carefully!';\n }\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 300,
+ "completion_tokens": 1310,
+ "total_tokens": 1610,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 300
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..2b64deb
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# phdornot1.scroll.pub
+Website generated by DeepSeek from prompt: Tôi muốn có một trang web giúp quyết định liệu tôi có nên bỏ chương trình tiến sĩ để làm OnlyFans hay không. Web cần có một số công cụ tính toán và tính tương tác. Hãy sáng tạo.
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..05f6909
--- /dev/null
+++ b/script.js
@@ -0,0 +1,32 @@
+document.getElementById('financeForm').addEventListener('submit', function(event) {
+ event.preventDefault();
+ const phdSalary = parseFloat(document.getElementById('phdSalary').value);
+ const phdYears = parseFloat(document.getElementById('phdYears').value);
+ const onlyfansEarnings = parseFloat(document.getElementById('onlyfansEarnings').value);
+
+ const phdTotal = phdSalary * phdYears;
+ const onlyfansTotal = onlyfansEarnings * 12 * phdYears;
+
+ document.getElementById('phdTotal').textContent = `Total PhD Earnings: $${phdTotal.toLocaleString()}`;
+ document.getElementById('onlyfansTotal').textContent = `Total OnlyFans Earnings: $${onlyfansTotal.toLocaleString()}`;
+
+ if (onlyfansTotal > phdTotal) {
+ document.getElementById('recommendation').textContent = 'Recommendation: Consider OnlyFans!';
+ } else {
+ document.getElementById('recommendation').textContent = 'Recommendation: Stick with your PhD!';
+ }
+});
+
+document.getElementById('quizForm').addEventListener('submit', function(event) {
+ event.preventDefault();
+ const passion = parseInt(document.getElementById('passion').value);
+ const comfort = parseInt(document.getElementById('comfort').value);
+
+ if (passion >= 2 && comfort <= 2) {
+ document.getElementById('quizRecommendation').textContent = 'Recommendation: Continue your PhD!';
+ } else if (passion <= 2 && comfort >= 2) {
+ document.getElementById('quizRecommendation').textContent = 'Recommendation: Consider OnlyFans!';
+ } else {
+ document.getElementById('quizRecommendation').textContent = 'Recommendation: Weigh your options carefully!';
+ }
+});
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..89fb097
--- /dev/null
+++ b/style.css
@@ -0,0 +1,70 @@
+body {
+ font-family: 'Arial', sans-serif;
+ line-height: 1.6;
+ margin: 0;
+ padding: 0;
+ background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
+ color: #333;
+}
+
+header {
+ background: #4a90e2;
+ color: white;
+ padding: 2rem;
+ text-align: center;
+}
+
+main {
+ padding: 2rem;
+}
+
+section {
+ background: white;
+ margin: 2rem 0;
+ padding: 2rem;
+ border-radius: 10px;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+}
+
+h2 {
+ color: #4a90e2;
+}
+
+form {
+ display: flex;
+ flex-direction: column;
+}
+
+label {
+ margin: 0.5rem 0 0.2rem;
+}
+
+input, select, button {
+ padding: 0.5rem;
+ margin-bottom: 1rem;
+ border: 1px solid #ccc;
+ border-radius: 5px;
+}
+
+button {
+ background: #4a90e2;
+ color: white;
+ border: none;
+ cursor: pointer;
+}
+
+button:hover {
+ background: #357abd;
+}
+
+#results, #quizResults {
+ margin-top: 2rem;
+}
+
+footer {
+ text-align: center;
+ padding: 1rem;
+ background: #4a90e2;
+ color: white;
+ margin-top: 2rem;
+}
\ No newline at end of file