Changes to pretimmobilier.scroll.pub

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

Simulateur de Crédit Immobilier

+

Calculez votre prêt immobilier en quelques clics

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

Résultat

+

Mensualité : -

+

Coût total : -

+
+
+
+
+

Simulateur de crédit immobilier en France

+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://pretimmobilier.scroll.pub
+ metaTags
+ editButton /edit.html
+ title Simulateur de Crédit Immobilier en France
+ style.css
+ body.html
+ script.js
prompt.json
Changed around line 1
+ {
+ "id": "25fcb165-17f0-463a-ac33-d06ea3acca7d",
+ "object": "chat.completion",
+ "created": 1735372455,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\npretimmobilier.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://pretimmobilier.scroll.pub\nmetaTags\neditButton /edit.html\ntitle Simulateur de Crédit Immobilier en France\nstyle.css\nbody.html\nscript.js\n---body.html---\n
\n

Simulateur de Crédit Immobilier

\n

Calculez votre prêt immobilier en quelques clics

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

Résultat

\n

Mensualité : -

\n

Coût total : -

\n
\n
\n
\n
\n

Simulateur de crédit immobilier en France

\n
\n---style.css---\n:root {\n --primary-color: #2c3e50;\n --secondary-color: #3498db;\n --background-color: #ecf0f1;\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-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 margin: 0.5rem 0 0;\n font-size: 1.2rem;\n}\n\nmain {\n padding: 2rem;\n max-width: 800px;\n margin: 0 auto;\n}\n\n.calculator {\n background: white;\n padding: 2rem;\n border-radius: var(--border-radius);\n box-shadow: var(--box-shadow);\n}\n\n.input-group {\n margin-bottom: 1.5rem;\n}\n\n.input-group label {\n display: block;\n margin-bottom: 0.5rem;\n font-weight: bold;\n}\n\n.input-group input {\n width: 100%;\n padding: 0.75rem;\n border: 1px solid #ddd;\n border-radius: var(--border-radius);\n font-size: 1rem;\n}\n\nbutton {\n width: 100%;\n padding: 1rem;\n background-color: var(--secondary-color);\n color: white;\n border: none;\n border-radius: var(--border-radius);\n font-size: 1rem;\n cursor: pointer;\n transition: background-color 0.3s ease;\n}\n\nbutton:hover {\n background-color: #2980b9;\n}\n\n.result {\n margin-top: 2rem;\n padding: 1.5rem;\n background-color: var(--background-color);\n border-radius: var(--border-radius);\n text-align: center;\n}\n\n.result h2 {\n margin-top: 0;\n}\n\n.result p {\n margin: 0.5rem 0;\n font-size: 1.2rem;\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: 600px) {\n header h1 {\n font-size: 2rem;\n }\n\n header p {\n font-size: 1rem;\n }\n\n .calculator {\n padding: 1rem;\n }\n\n .input-group input {\n padding: 0.5rem;\n }\n\n button {\n padding: 0.75rem;\n }\n\n .result {\n padding: 1rem;\n }\n}\n---script.js---\ndocument.getElementById('calculate').addEventListener('click', function() {\n const amount = parseFloat(document.getElementById('amount').value);\n const duration = parseFloat(document.getElementById('duration').value);\n const rate = parseFloat(document.getElementById('rate').value);\n\n if (isNaN(amount) || isNaN(duration) || isNaN(rate)) {\n alert('Veuillez remplir tous les champs correctement.');\n return;\n }\n\n const monthlyRate = rate / 100 / 12;\n const numberOfPayments = duration * 12;\n\n const monthlyPayment = (amount * monthlyRate) / (1 - Math.pow(1 + monthlyRate, -numberOfPayments));\n const totalCost = monthlyPayment * numberOfPayments;\n\n document.getElementById('monthlyPayment').textContent = monthlyPayment.toFixed(2);\n document.getElementById('totalCost').textContent = totalCost.toFixed(2);\n});\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 253,
+ "completion_tokens": 1270,
+ "total_tokens": 1523,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 253
+ },
+ "system_fingerprint": "fp_f1afce2943"
+ }
readme.scroll
Changed around line 1
+ # pretimmobilier.scroll.pub
+ Website generated by DeepSeek from prompt: creer un site pour simuler un credit immobilier en france. sois creatif
script.js
Changed around line 1
+ document.getElementById('calculate').addEventListener('click', function() {
+ const amount = parseFloat(document.getElementById('amount').value);
+ const duration = parseFloat(document.getElementById('duration').value);
+ const rate = parseFloat(document.getElementById('rate').value);
+
+ if (isNaN(amount) || isNaN(duration) || isNaN(rate)) {
+ alert('Veuillez remplir tous les champs correctement.');
+ return;
+ }
+
+ const monthlyRate = rate / 100 / 12;
+ const numberOfPayments = duration * 12;
+
+ const monthlyPayment = (amount * monthlyRate) / (1 - Math.pow(1 + monthlyRate, -numberOfPayments));
+ const totalCost = monthlyPayment * numberOfPayments;
+
+ document.getElementById('monthlyPayment').textContent = monthlyPayment.toFixed(2);
+ document.getElementById('totalCost').textContent = totalCost.toFixed(2);
+ });
style.css
Changed around line 1
+ :root {
+ --primary-color: #2c3e50;
+ --secondary-color: #3498db;
+ --background-color: #ecf0f1;
+ --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-color: var(--primary-color);
+ color: white;
+ padding: 2rem;
+ text-align: center;
+ }
+
+ header h1 {
+ margin: 0;
+ font-size: 2.5rem;
+ }
+
+ header p {
+ margin: 0.5rem 0 0;
+ font-size: 1.2rem;
+ }
+
+ main {
+ padding: 2rem;
+ max-width: 800px;
+ margin: 0 auto;
+ }
+
+ .calculator {
+ background: white;
+ padding: 2rem;
+ border-radius: var(--border-radius);
+ box-shadow: var(--box-shadow);
+ }
+
+ .input-group {
+ margin-bottom: 1.5rem;
+ }
+
+ .input-group label {
+ display: block;
+ margin-bottom: 0.5rem;
+ font-weight: bold;
+ }
+
+ .input-group input {
+ width: 100%;
+ padding: 0.75rem;
+ border: 1px solid #ddd;
+ border-radius: var(--border-radius);
+ font-size: 1rem;
+ }
+
+ button {
+ width: 100%;
+ padding: 1rem;
+ background-color: var(--secondary-color);
+ color: white;
+ border: none;
+ border-radius: var(--border-radius);
+ font-size: 1rem;
+ cursor: pointer;
+ transition: background-color 0.3s ease;
+ }
+
+ button:hover {
+ background-color: #2980b9;
+ }
+
+ .result {
+ margin-top: 2rem;
+ padding: 1.5rem;
+ background-color: var(--background-color);
+ border-radius: var(--border-radius);
+ text-align: center;
+ }
+
+ .result h2 {
+ margin-top: 0;
+ }
+
+ .result p {
+ margin: 0.5rem 0;
+ font-size: 1.2rem;
+ }
+
+ footer {
+ text-align: center;
+ padding: 1rem;
+ background-color: var(--primary-color);
+ color: white;
+ margin-top: 2rem;
+ }
+
+ @media (max-width: 600px) {
+ header h1 {
+ font-size: 2rem;
+ }
+
+ header p {
+ font-size: 1rem;
+ }
+
+ .calculator {
+ padding: 1rem;
+ }
+
+ .input-group input {
+ padding: 0.5rem;
+ }
+
+ button {
+ padding: 0.75rem;
+ }
+
+ .result {
+ padding: 1rem;
+ }
+ }