commit 4297db69c332ca90c5c848b22ff4eac89825daa8
Author: root <root@hub.scroll.pub>
Date: 2025-01-02 03:11:08 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..362c673
--- /dev/null
+++ b/body.html
@@ -0,0 +1,50 @@
+<header>
+ <h1>Should I Quit My Job to Launch a Startup?</h1>
+ <p>Use these interactive tools to help you make an informed decision.</p>
+</header>
+
+<main>
+ <section class="calculator">
+ <h2>Financial Calculator</h2>
+ <form id="financial-calculator">
+ <label for="current-salary">Current Annual Salary:</label>
+ <input type="number" id="current-salary" required>
+
+ <label for="savings">Savings:</label>
+ <input type="number" id="savings" required>
+
+ <label for="startup-costs">Estimated Startup Costs:</label>
+ <input type="number" id="startup-costs" required>
+
+ <label for="runway">Desired Runway (months):</label>
+ <input type="number" id="runway" required>
+
+ <button type="submit">Calculate</button>
+ </form>
+ <div id="financial-result" class="result"></div>
+ </section>
+
+ <section class="quiz">
+ <h2>Startup Readiness Quiz</h2>
+ <form id="startup-quiz">
+ <div class="question">
+ <p>1. How passionate are you about your startup idea?</p>
+ <label><input type="radio" name="passion" value="1"> Not Passionate</label>
+ <label><input type="radio" name="passion" value="2"> Somewhat Passionate</label>
+ <label><input type="radio" name="passion" value="3"> Very Passionate</label>
+ </div>
+ <div class="question">
+ <p>2. How much industry experience do you have?</p>
+ <label><input type="radio" name="experience" value="1"> None</label>
+ <label><input type="radio" name="experience" value="2"> Some</label>
+ <label><input type="radio" name="experience" value="3"> Extensive</label>
+ </div>
+ <button type="submit">Get Results</button>
+ </form>
+ <div id="quiz-result" class="result"></div>
+ </section>
+</main>
+
+<footer>
+ <p>Made with ❤️ by QuitOrLaunch</p>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..be18045
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://quitorlaunch.scroll.pub
+metaTags
+editButton /edit.html
+title Should I Quit My Job to Launch a Startup?
+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..2814e82
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "9cc2520f-8267-4cc7-838d-1b500348e6f3",
+ "object": "chat.completion",
+ "created": 1735787444,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nquitorlaunch.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://quitorlaunch.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Should I Quit My Job to Launch a Startup?\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>Should I Quit My Job to Launch a Startup?</h1>\n <p>Use these interactive tools to help you make an informed decision.</p>\n</header>\n\n<main>\n <section class=\"calculator\">\n <h2>Financial Calculator</h2>\n <form id=\"financial-calculator\">\n <label for=\"current-salary\">Current Annual Salary:</label>\n <input type=\"number\" id=\"current-salary\" required>\n \n <label for=\"savings\">Savings:</label>\n <input type=\"number\" id=\"savings\" required>\n \n <label for=\"startup-costs\">Estimated Startup Costs:</label>\n <input type=\"number\" id=\"startup-costs\" required>\n \n <label for=\"runway\">Desired Runway (months):</label>\n <input type=\"number\" id=\"runway\" required>\n \n <button type=\"submit\">Calculate</button>\n </form>\n <div id=\"financial-result\" class=\"result\"></div>\n </section>\n\n <section class=\"quiz\">\n <h2>Startup Readiness Quiz</h2>\n <form id=\"startup-quiz\">\n <div class=\"question\">\n <p>1. How passionate are you about your startup idea?</p>\n <label><input type=\"radio\" name=\"passion\" value=\"1\"> Not Passionate</label>\n <label><input type=\"radio\" name=\"passion\" value=\"2\"> Somewhat Passionate</label>\n <label><input type=\"radio\" name=\"passion\" value=\"3\"> Very Passionate</label>\n </div>\n <div class=\"question\">\n <p>2. How much industry experience do you have?</p>\n <label><input type=\"radio\" name=\"experience\" value=\"1\"> None</label>\n <label><input type=\"radio\" name=\"experience\" value=\"2\"> Some</label>\n <label><input type=\"radio\" name=\"experience\" value=\"3\"> Extensive</label>\n </div>\n <button type=\"submit\">Get Results</button>\n </form>\n <div id=\"quiz-result\" class=\"result\"></div>\n </section>\n</main>\n\n<footer>\n <p>Made with ❤️ by QuitOrLaunch</p>\n</footer>\n---style.css---\n:root {\n --primary-color: #4a90e2;\n --secondary-color: #50e3c2;\n --background-color: #f5f7fa;\n --text-color: #333;\n --border-radius: 8px;\n --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\nbody {\n font-family: 'Arial', sans-serif;\n line-height: 1.6;\n margin: 0;\n padding: 0;\n background-color: var(--background-color);\n color: var(--text-color);\n}\n\nheader {\n background: var(--primary-color);\n color: white;\n padding: 2rem;\n text-align: center;\n}\n\nh1 {\n margin: 0;\n font-size: 2.5rem;\n}\n\np {\n margin: 0.5rem 0;\n}\n\nmain {\n padding: 2rem;\n max-width: 800px;\n margin: 0 auto;\n}\n\nsection {\n background: white;\n padding: 2rem;\n margin-bottom: 2rem;\n border-radius: var(--border-radius);\n box-shadow: var(--box-shadow);\n}\n\nh2 {\n color: var(--primary-color);\n margin-bottom: 1rem;\n}\n\nform {\n display: flex;\n flex-direction: column;\n}\n\nlabel {\n margin-bottom: 0.5rem;\n font-weight: bold;\n}\n\ninput, button {\n padding: 0.5rem;\n margin-bottom: 1rem;\n border: 1px solid #ccc;\n border-radius: var(--border-radius);\n}\n\nbutton {\n background: var(--secondary-color);\n color: white;\n border: none;\n cursor: pointer;\n transition: background 0.3s ease;\n}\n\nbutton:hover {\n background: #3bb99f;\n}\n\n.result {\n margin-top: 1rem;\n padding: 1rem;\n background: #e3f2fd;\n border-radius: var(--border-radius);\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background: var(--primary-color);\n color: white;\n}\n\n@media (max-width: 600px) {\n h1 {\n font-size: 2rem;\n }\n\n main {\n padding: 1rem;\n }\n\n section {\n padding: 1rem;\n }\n}\n---script.js---\ndocument.getElementById('financial-calculator').addEventListener('submit', function(e) {\n e.preventDefault();\n \n const currentSalary = parseFloat(document.getElementById('current-salary').value);\n const savings = parseFloat(document.getElementById('savings').value);\n const startupCosts = parseFloat(document.getElementById('startup-costs').value);\n const runway = parseFloat(document.getElementById('runway').value);\n \n const monthlySalary = currentSalary / 12;\n const totalRunwayCosts = monthlySalary * runway;\n const totalFundsNeeded = startupCosts + totalRunwayCosts;\n \n const result = savings >= totalFundsNeeded ? \n `You have enough savings to cover your startup costs and runway.` :\n `You need an additional $${(totalFundsNeeded - savings).toFixed(2)} to cover your startup costs and runway.`;\n \n document.getElementById('financial-result').textContent = result;\n});\n\ndocument.getElementById('startup-quiz').addEventListener('submit', function(e) {\n e.preventDefault();\n \n const passion = parseInt(document.querySelector('input[name=\"passion\"]:checked').value);\n const experience = parseInt(document.querySelector('input[name=\"experience\"]:checked').value);\n \n const totalScore = passion + experience;\n \n let result;\n if (totalScore <= 3) {\n result = 'You might want to gain more experience and passion before launching.';\n } else if (totalScore <= 5) {\n result = 'You are on the right track, but consider further preparation.';\n } else {\n result = 'You are ready to take the leap and launch your startup!';\n }\n \n document.getElementById('quiz-result').textContent = result;\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 268,
+ "completion_tokens": 1489,
+ "total_tokens": 1757,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 268
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..63ce035
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# quitorlaunch.scroll.pub
+Website generated by DeepSeek from prompt: I want a website that help me decide whether should I quit my current job to launch a startup. 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..34605ef
--- /dev/null
+++ b/script.js
@@ -0,0 +1,38 @@
+document.getElementById('financial-calculator').addEventListener('submit', function(e) {
+ e.preventDefault();
+
+ const currentSalary = parseFloat(document.getElementById('current-salary').value);
+ const savings = parseFloat(document.getElementById('savings').value);
+ const startupCosts = parseFloat(document.getElementById('startup-costs').value);
+ const runway = parseFloat(document.getElementById('runway').value);
+
+ const monthlySalary = currentSalary / 12;
+ const totalRunwayCosts = monthlySalary * runway;
+ const totalFundsNeeded = startupCosts + totalRunwayCosts;
+
+ const result = savings >= totalFundsNeeded ?
+ `You have enough savings to cover your startup costs and runway.` :
+ `You need an additional $${(totalFundsNeeded - savings).toFixed(2)} to cover your startup costs and runway.`;
+
+ document.getElementById('financial-result').textContent = result;
+});
+
+document.getElementById('startup-quiz').addEventListener('submit', function(e) {
+ e.preventDefault();
+
+ const passion = parseInt(document.querySelector('input[name="passion"]:checked').value);
+ const experience = parseInt(document.querySelector('input[name="experience"]:checked').value);
+
+ const totalScore = passion + experience;
+
+ let result;
+ if (totalScore <= 3) {
+ result = 'You might want to gain more experience and passion before launching.';
+ } else if (totalScore <= 5) {
+ result = 'You are on the right track, but consider further preparation.';
+ } else {
+ result = 'You are ready to take the leap and launch your startup!';
+ }
+
+ document.getElementById('quiz-result').textContent = result;
+});
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..5051ddd
--- /dev/null
+++ b/style.css
@@ -0,0 +1,109 @@
+:root {
+ --primary-color: #4a90e2;
+ --secondary-color: #50e3c2;
+ --background-color: #f5f7fa;
+ --text-color: #333;
+ --border-radius: 8px;
+ --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+}
+
+body {
+ font-family: 'Arial', sans-serif;
+ line-height: 1.6;
+ margin: 0;
+ padding: 0;
+ background-color: var(--background-color);
+ color: var(--text-color);
+}
+
+header {
+ background: var(--primary-color);
+ color: white;
+ padding: 2rem;
+ text-align: center;
+}
+
+h1 {
+ margin: 0;
+ font-size: 2.5rem;
+}
+
+p {
+ margin: 0.5rem 0;
+}
+
+main {
+ padding: 2rem;
+ max-width: 800px;
+ margin: 0 auto;
+}
+
+section {
+ background: white;
+ padding: 2rem;
+ margin-bottom: 2rem;
+ border-radius: var(--border-radius);
+ box-shadow: var(--box-shadow);
+}
+
+h2 {
+ color: var(--primary-color);
+ margin-bottom: 1rem;
+}
+
+form {
+ display: flex;
+ flex-direction: column;
+}
+
+label {
+ margin-bottom: 0.5rem;
+ font-weight: bold;
+}
+
+input, button {
+ padding: 0.5rem;
+ margin-bottom: 1rem;
+ border: 1px solid #ccc;
+ border-radius: var(--border-radius);
+}
+
+button {
+ background: var(--secondary-color);
+ color: white;
+ border: none;
+ cursor: pointer;
+ transition: background 0.3s ease;
+}
+
+button:hover {
+ background: #3bb99f;
+}
+
+.result {
+ margin-top: 1rem;
+ padding: 1rem;
+ background: #e3f2fd;
+ border-radius: var(--border-radius);
+}
+
+footer {
+ text-align: center;
+ padding: 1rem;
+ background: var(--primary-color);
+ color: white;
+}
+
+@media (max-width: 600px) {
+ h1 {
+ font-size: 2rem;
+ }
+
+ main {
+ padding: 1rem;
+ }
+
+ section {
+ padding: 1rem;
+ }
+}
\ No newline at end of file