commit 6cd1290fa53abad89b9e75b62f310a721e28f97a
Author: root <root@hub.scroll.pub>
Date: 2024-12-29 00:11:57 +0000
Subject: Initial commit
diff --git a/body.html b/body.html
new file mode 100644
index 0000000..d7b0f09
--- /dev/null
+++ b/body.html
@@ -0,0 +1,25 @@
+<header>
+ <h1>Best Time to Apply for Law School</h1>
+ <p>Calculate the optimal time to apply for law school based on your current job income, CFA progression, and other factors.</p>
+</header>
+<main>
+ <form id="calculator">
+ <label for="income">Current Annual Income ($):</label>
+ <input type="number" id="income" name="income" required>
+
+ <label for="cfa">CFA Progression (% completed):</label>
+ <input type="number" id="cfa" name="cfa" min="0" max="100" required>
+
+ <label for="misc">Miscellaneous Factors (e.g., savings, commitments):</label>
+ <textarea id="misc" name="misc" rows="4"></textarea>
+
+ <button type="submit">Calculate</button>
+ </form>
+ <div id="result" class="hidden">
+ <h2>Your Optimal Application Time</h2>
+ <p id="resultText"></p>
+ </div>
+</main>
+<footer>
+ <p>Made with care for future lawyers.</p>
+</footer>
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..955986e
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,8 @@
+buildHtml
+baseUrl https://lawtiming.scroll.pub
+metaTags
+editButton /edit.html
+title Best Time to Apply for Law School Calculator
+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..95675ed
--- /dev/null
+++ b/prompt.json
@@ -0,0 +1,25 @@
+{
+ "id": "f94873e6-f426-4c36-a26f-d844d676e7be",
+ "object": "chat.completion",
+ "created": 1735431103,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nlawtiming.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://lawtiming.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Best Time to Apply for Law School Calculator\nstyle.css\nbody.html\nscript.js\n---body.html---\n<header>\n <h1>Best Time to Apply for Law School</h1>\n <p>Calculate the optimal time to apply for law school based on your current job income, CFA progression, and other factors.</p>\n</header>\n<main>\n <form id=\"calculator\">\n <label for=\"income\">Current Annual Income ($):</label>\n <input type=\"number\" id=\"income\" name=\"income\" required>\n \n <label for=\"cfa\">CFA Progression (% completed):</label>\n <input type=\"number\" id=\"cfa\" name=\"cfa\" min=\"0\" max=\"100\" required>\n \n <label for=\"misc\">Miscellaneous Factors (e.g., savings, commitments):</label>\n <textarea id=\"misc\" name=\"misc\" rows=\"4\"></textarea>\n \n <button type=\"submit\">Calculate</button>\n </form>\n <div id=\"result\" class=\"hidden\">\n <h2>Your Optimal Application Time</h2>\n <p id=\"resultText\"></p>\n </div>\n</main>\n<footer>\n <p>Made with care for future lawyers.</p>\n</footer>\n---style.css---\nbody {\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n margin: 0;\n padding: 0;\n background: linear-gradient(135deg, #f5f7fa, #c3cfe2);\n color: #333;\n line-height: 1.6;\n}\n\nheader {\n background: #2c3e50;\n color: #fff;\n padding: 2rem;\n text-align: center;\n}\n\nmain {\n padding: 2rem;\n max-width: 600px;\n margin: 0 auto;\n}\n\nform {\n background: #fff;\n padding: 2rem;\n border-radius: 8px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\nlabel {\n display: block;\n margin-bottom: 0.5rem;\n font-weight: bold;\n}\n\ninput, textarea {\n width: 100%;\n padding: 0.5rem;\n margin-bottom: 1rem;\n border: 1px solid #ccc;\n border-radius: 4px;\n}\n\nbutton {\n background: #3498db;\n color: #fff;\n padding: 0.75rem 1.5rem;\n border: none;\n border-radius: 4px;\n cursor: pointer;\n font-size: 1rem;\n}\n\nbutton:hover {\n background: #2980b9;\n}\n\n#result {\n margin-top: 2rem;\n padding: 2rem;\n background: #fff;\n border-radius: 8px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n}\n\n.hidden {\n display: none;\n}\n\nfooter {\n text-align: center;\n padding: 1rem;\n background: #2c3e50;\n color: #fff;\n margin-top: 2rem;\n}\n\n@media (max-width: 600px) {\n main {\n padding: 1rem;\n }\n\n form, #result {\n padding: 1rem;\n }\n}\n---script.js---\ndocument.getElementById('calculator').addEventListener('submit', function(event) {\n event.preventDefault();\n \n const income = parseFloat(document.getElementById('income').value);\n const cfa = parseFloat(document.getElementById('cfa').value);\n const misc = document.getElementById('misc').value;\n \n let resultText = '';\n \n if (income > 100000 && cfa < 50) {\n resultText = 'Consider completing more of your CFA before applying to law school.';\n } else if (income < 50000 && cfa > 75) {\n resultText = 'Now is a great time to apply for law school!';\n } else {\n resultText = 'Your optimal application time depends on balancing your income and CFA progress.';\n }\n \n if (misc.includes('savings') || misc.includes('commitments')) {\n resultText += ' Ensure your financial and personal commitments are in order before applying.';\n }\n \n document.getElementById('resultText').textContent = resultText;\n document.getElementById('result').classList.remove('hidden');\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 270,
+ "completion_tokens": 1029,
+ "total_tokens": 1299,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 270
+ },
+ "system_fingerprint": "fp_f1afce2943"
+}
\ No newline at end of file
diff --git a/readme.scroll b/readme.scroll
new file mode 100644
index 0000000..127256a
--- /dev/null
+++ b/readme.scroll
@@ -0,0 +1,2 @@
+# lawtiming.scroll.pub
+Website generated by DeepSeek from prompt: Create an online tool to gauge when the best time to apply for Law School is. Consider the following factors: current job income, progression on my CFA status, and other miscellaneous factors
\ No newline at end of file
diff --git a/script.js b/script.js
new file mode 100644
index 0000000..a29c2a9
--- /dev/null
+++ b/script.js
@@ -0,0 +1,24 @@
+document.getElementById('calculator').addEventListener('submit', function(event) {
+ event.preventDefault();
+
+ const income = parseFloat(document.getElementById('income').value);
+ const cfa = parseFloat(document.getElementById('cfa').value);
+ const misc = document.getElementById('misc').value;
+
+ let resultText = '';
+
+ if (income > 100000 && cfa < 50) {
+ resultText = 'Consider completing more of your CFA before applying to law school.';
+ } else if (income < 50000 && cfa > 75) {
+ resultText = 'Now is a great time to apply for law school!';
+ } else {
+ resultText = 'Your optimal application time depends on balancing your income and CFA progress.';
+ }
+
+ if (misc.includes('savings') || misc.includes('commitments')) {
+ resultText += ' Ensure your financial and personal commitments are in order before applying.';
+ }
+
+ document.getElementById('resultText').textContent = resultText;
+ document.getElementById('result').classList.remove('hidden');
+});
\ No newline at end of file
diff --git a/style.css b/style.css
new file mode 100644
index 0000000..bcb0f98
--- /dev/null
+++ b/style.css
@@ -0,0 +1,86 @@
+body {
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ margin: 0;
+ padding: 0;
+ background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
+ color: #333;
+ line-height: 1.6;
+}
+
+header {
+ background: #2c3e50;
+ color: #fff;
+ padding: 2rem;
+ text-align: center;
+}
+
+main {
+ padding: 2rem;
+ max-width: 600px;
+ margin: 0 auto;
+}
+
+form {
+ background: #fff;
+ padding: 2rem;
+ border-radius: 8px;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+}
+
+label {
+ display: block;
+ margin-bottom: 0.5rem;
+ font-weight: bold;
+}
+
+input, textarea {
+ width: 100%;
+ padding: 0.5rem;
+ margin-bottom: 1rem;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+}
+
+button {
+ background: #3498db;
+ color: #fff;
+ padding: 0.75rem 1.5rem;
+ border: none;
+ border-radius: 4px;
+ cursor: pointer;
+ font-size: 1rem;
+}
+
+button:hover {
+ background: #2980b9;
+}
+
+#result {
+ margin-top: 2rem;
+ padding: 2rem;
+ background: #fff;
+ border-radius: 8px;
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
+}
+
+.hidden {
+ display: none;
+}
+
+footer {
+ text-align: center;
+ padding: 1rem;
+ background: #2c3e50;
+ color: #fff;
+ margin-top: 2rem;
+}
+
+@media (max-width: 600px) {
+ main {
+ padding: 1rem;
+ }
+
+ form, #result {
+ padding: 1rem;
+ }
+}
\ No newline at end of file