Changes to rentorsell.scroll.pub

root
root
25 days ago
Initial commit
body.html
Changed around line 1
+
+

Rent or Sell?

+

Use this interactive financial model to decide whether to sell your property or continue renting it out.

+
+
+
+

Input Your Property Details

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

Results

+

+

+

+
+
+
+

Disclaimer: This tool provides estimates only. Consult a financial advisor for personalized advice.

+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://rentorsell.scroll.pub
+ metaTags
+ editButton /edit.html
+ title Rent or Sell: Interactive Financial Model
+ style.css
+ body.html
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "b4e28bc0-1f56-4ca9-aefd-2e8cc267b3a4",
+ "object": "chat.completion",
+ "created": 1735326350,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\nrentorsell.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://rentorsell.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Rent or Sell: Interactive Financial Model\nstyle.css\nbody.html\nscript.js\n---body.html---\n
\n

Rent or Sell?

\n

Use this interactive financial model to decide whether to sell your property or continue renting it out.

\n
\n
\n
\n

Input Your Property Details

\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n

Results

\n

\n

\n

\n
\n
\n
\n

Disclaimer: This tool provides estimates only. Consult a financial advisor for personalized advice.

\n
\n---style.css---\nbody {\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n line-height: 1.6;\n margin: 0;\n padding: 20px;\n background: #f4f4f4;\n color: #333;\n}\n\nheader {\n background: #005f73;\n color: #fff;\n padding: 20px 0;\n text-align: center;\n}\n\nmain {\n max-width: 800px;\n margin: 20px auto;\n padding: 20px;\n background: #fff;\n box-shadow: 0 0 10px rgba(0,0,0,0.1);\n}\n\nh1, h2 {\n color: #005f73;\n}\n\nform {\n display: grid;\n gap: 15px;\n}\n\nlabel {\n font-weight: bold;\n}\n\ninput[type=\"number\"] {\n padding: 8px;\n border: 1px solid #ddd;\n border-radius: 4px;\n}\n\nbutton {\n background: #0a9396;\n color: #fff;\n padding: 10px 15px;\n border: none;\n border-radius: 4px;\n cursor: pointer;\n}\n\nbutton:hover {\n background: #94d2bd;\n}\n\n#results {\n margin-top: 20px;\n padding: 15px;\n background: #e9ecef;\n border-radius: 4px;\n}\n\nfooter {\n text-align: center;\n margin-top: 20px;\n font-size: 0.9em;\n color: #666;\n}\n\n@media (max-width: 600px) {\n body {\n padding: 10px;\n }\n\n main {\n padding: 15px;\n }\n\n form {\n grid-template-columns: 1fr;\n }\n}\n---script.js---\ndocument.getElementById('propertyForm').addEventListener('submit', function(e) {\n e.preventDefault();\n \n const propertyValue = parseFloat(document.getElementById('propertyValue').value);\n const rentalIncome = parseFloat(document.getElementById('rentalIncome').value);\n const expenses = parseFloat(document.getElementById('expenses').value);\n const years = parseFloat(document.getElementById('years').value);\n \n const rentalProfit = (rentalIncome - expenses) * 12 * years;\n const saleProfit = propertyValue * 1.05; // Assuming 5% appreciation\n \n document.getElementById('rentalProfit').textContent = `Total Rental Profit over ${years} years: $${rentalProfit.toLocaleString()}`;\n document.getElementById('saleProfit').textContent = `Estimated Sale Profit: $${saleProfit.toLocaleString()}`;\n \n if (rentalProfit > saleProfit) {\n document.getElementById('recommendation').textContent = 'Recommendation: Continue Renting';\n } else {\n document.getElementById('recommendation').textContent = 'Recommendation: Sell the Property';\n }\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 262,
+ "completion_tokens": 1006,
+ "total_tokens": 1268,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 262
+ },
+ "system_fingerprint": "fp_f1afce2943"
+ }
readme.scroll
Changed around line 1
+ # rentorsell.scroll.pub
+ Website generated by DeepSeek from prompt: build me a website that provides an interactive financial model to help users decide if it is worth selling a real estate property or continue renting the property.
script.js
Changed around line 1
+ document.getElementById('propertyForm').addEventListener('submit', function(e) {
+ e.preventDefault();
+
+ const propertyValue = parseFloat(document.getElementById('propertyValue').value);
+ const rentalIncome = parseFloat(document.getElementById('rentalIncome').value);
+ const expenses = parseFloat(document.getElementById('expenses').value);
+ const years = parseFloat(document.getElementById('years').value);
+
+ const rentalProfit = (rentalIncome - expenses) * 12 * years;
+ const saleProfit = propertyValue * 1.05; // Assuming 5% appreciation
+
+ document.getElementById('rentalProfit').textContent = `Total Rental Profit over ${years} years: $${rentalProfit.toLocaleString()}`;
+ document.getElementById('saleProfit').textContent = `Estimated Sale Profit: $${saleProfit.toLocaleString()}`;
+
+ if (rentalProfit > saleProfit) {
+ document.getElementById('recommendation').textContent = 'Recommendation: Continue Renting';
+ } else {
+ document.getElementById('recommendation').textContent = 'Recommendation: Sell the Property';
+ }
+ });
style.css
Changed around line 1
+ body {
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ line-height: 1.6;
+ margin: 0;
+ padding: 20px;
+ background: #f4f4f4;
+ color: #333;
+ }
+
+ header {
+ background: #005f73;
+ color: #fff;
+ padding: 20px 0;
+ text-align: center;
+ }
+
+ main {
+ max-width: 800px;
+ margin: 20px auto;
+ padding: 20px;
+ background: #fff;
+ box-shadow: 0 0 10px rgba(0,0,0,0.1);
+ }
+
+ h1, h2 {
+ color: #005f73;
+ }
+
+ form {
+ display: grid;
+ gap: 15px;
+ }
+
+ label {
+ font-weight: bold;
+ }
+
+ input[type="number"] {
+ padding: 8px;
+ border: 1px solid #ddd;
+ border-radius: 4px;
+ }
+
+ button {
+ background: #0a9396;
+ color: #fff;
+ padding: 10px 15px;
+ border: none;
+ border-radius: 4px;
+ cursor: pointer;
+ }
+
+ button:hover {
+ background: #94d2bd;
+ }
+
+ #results {
+ margin-top: 20px;
+ padding: 15px;
+ background: #e9ecef;
+ border-radius: 4px;
+ }
+
+ footer {
+ text-align: center;
+ margin-top: 20px;
+ font-size: 0.9em;
+ color: #666;
+ }
+
+ @media (max-width: 600px) {
+ body {
+ padding: 10px;
+ }
+
+ main {
+ padding: 15px;
+ }
+
+ form {
+ grid-template-columns: 1fr;
+ }
+ }