Changes to creditimmo3.scroll.pub

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

Simulateur de Crédit Immobilier

+

Calculez votre prêt immobilier en quelques clics

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

Résultats de la simulation

+

Montant du prêt:

+

Frais de notaire:

+

Mensualités:

+

Coût total:

+

Coût des intérêts:

+

Frais annexes:

+
+
+
+

Simulateur de crédit immobilier pour la France

+
index.scroll
Changed around line 1
+ buildHtml
+ baseUrl https://creditimmo.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": "17ebbc33-94a8-4948-a0eb-62abcbcc0351",
+ "object": "chat.completion",
+ "created": 1735422151,
+ "model": "deepseek-chat",
+ "choices": [
+ {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "---domain---\ncreditimmo.scroll.pub\n---index.scroll---\nbuildHtml\nbaseUrl https://creditimmo.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 \n \n
\n\n
\n

Résultats de la simulation

\n

Montant du prêt:

\n

Frais de notaire:

\n

Mensualités:

\n

Coût total:

\n

Coût des intérêts:

\n

Frais annexes:

\n
\n
\n
\n

Simulateur de crédit immobilier pour la 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 2px 10px rgba(0, 0, 0, 0.1);\n}\n\nbody {\n font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;\n margin: 0;\n padding: 0;\n background-color: var(--background-color);\n color: var(--text-color);\n line-height: 1.6;\n}\n\nheader {\n background-color: var(--primary-color);\n color: white;\n padding: 2rem;\n text-align: center;\n}\n\nmain {\n max-width: 800px;\n margin: 2rem auto;\n padding: 1rem;\n background: white;\n border-radius: var(--border-radius);\n box-shadow: var(--box-shadow);\n}\n\nform {\n display: grid;\n gap: 1rem;\n}\n\nlabel {\n font-weight: bold;\n}\n\ninput, select, button {\n padding: 0.75rem;\n border: 1px solid #ddd;\n border-radius: var(--border-radius);\n font-size: 1rem;\n}\n\nbutton {\n background-color: var(--secondary-color);\n color: white;\n border: none;\n cursor: pointer;\n transition: background-color 0.3s ease;\n}\n\nbutton:hover {\n background-color: #2980b9;\n}\n\n#results {\n margin-top: 2rem;\n padding: 1rem;\n background-color: #f9f9f9;\n border-radius: var(--border-radius);\n}\n\n.hidden {\n display: none;\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: 768px) {\n main {\n margin: 1rem;\n padding: 1rem;\n }\n}\n---script.js---\ndocument.getElementById('creditForm').addEventListener('submit', function(e) {\n e.preventDefault();\n \n const montantBien = parseFloat(document.getElementById('montantBien').value);\n const apport = parseFloat(document.getElementById('apport').value);\n const taux = parseFloat(document.getElementById('taux').value) / 100;\n const coutTravaux = parseFloat(document.getElementById('coutTravaux').value);\n const duree = parseInt(document.getElementById('duree').value);\n \n const montantPret = montantBien + coutTravaux - apport;\n const fraisNotaire = montantBien * 0.08;\n const mensualites = calculateMonthlyPayment(montantPret, taux, duree);\n const coutTotal = mensualites * duree * 12;\n const coutInterets = coutTotal - montantPret;\n const fraisAnnexes = fraisNotaire + coutTravaux;\n \n document.getElementById('montantPret').textContent = montantPret.toFixed(2);\n document.getElementById('fraisNotaire').textContent = fraisNotaire.toFixed(2);\n document.getElementById('mensualites').textContent = mensualites.toFixed(2);\n document.getElementById('coutTotal').textContent = coutTotal.toFixed(2);\n document.getElementById('coutInterets').textContent = coutInterets.toFixed(2);\n document.getElementById('fraisAnnexes').textContent = fraisAnnexes.toFixed(2);\n \n document.getElementById('results').classList.remove('hidden');\n});\n\nfunction calculateMonthlyPayment(amount, rate, years) {\n const monthlyRate = rate / 12;\n const numberOfPayments = years * 12;\n return amount * monthlyRate / (1 - Math.pow(1 + monthlyRate, -numberOfPayments));\n}\n---end---"
+ },
+ "logprobs": null,
+ "finish_reason": "stop"
+ }
+ ],
+ "usage": {
+ "prompt_tokens": 297,
+ "completion_tokens": 1452,
+ "total_tokens": 1749,
+ "prompt_cache_hit_tokens": 0,
+ "prompt_cache_miss_tokens": 297
+ },
+ "system_fingerprint": "fp_f1afce2943"
+ }
readme.scroll
Changed around line 1
+ # creditimmo3.scroll.pub
+ Website generated by DeepSeek from prompt: creer un site de credit immo pour la france. Entrées : montant du bien, apport, plusieurs possibilités de taux, cout travaux. sorties : montant prêt,frais notaires, mensualités, cout total, cout intérêt, frais n
script.js
Changed around line 1
+ document.getElementById('creditForm').addEventListener('submit', function(e) {
+ e.preventDefault();
+
+ const montantBien = parseFloat(document.getElementById('montantBien').value);
+ const apport = parseFloat(document.getElementById('apport').value);
+ const taux = parseFloat(document.getElementById('taux').value) / 100;
+ const coutTravaux = parseFloat(document.getElementById('coutTravaux').value);
+ const duree = parseInt(document.getElementById('duree').value);
+
+ const montantPret = montantBien + coutTravaux - apport;
+ const fraisNotaire = montantBien * 0.08;
+ const mensualites = calculateMonthlyPayment(montantPret, taux, duree);
+ const coutTotal = mensualites * duree * 12;
+ const coutInterets = coutTotal - montantPret;
+ const fraisAnnexes = fraisNotaire + coutTravaux;
+
+ document.getElementById('montantPret').textContent = montantPret.toFixed(2);
+ document.getElementById('fraisNotaire').textContent = fraisNotaire.toFixed(2);
+ document.getElementById('mensualites').textContent = mensualites.toFixed(2);
+ document.getElementById('coutTotal').textContent = coutTotal.toFixed(2);
+ document.getElementById('coutInterets').textContent = coutInterets.toFixed(2);
+ document.getElementById('fraisAnnexes').textContent = fraisAnnexes.toFixed(2);
+
+ document.getElementById('results').classList.remove('hidden');
+ });
+
+ function calculateMonthlyPayment(amount, rate, years) {
+ const monthlyRate = rate / 12;
+ const numberOfPayments = years * 12;
+ return amount * monthlyRate / (1 - Math.pow(1 + monthlyRate, -numberOfPayments));
+ }
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 2px 10px rgba(0, 0, 0, 0.1);
+ }
+
+ body {
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ margin: 0;
+ padding: 0;
+ background-color: var(--background-color);
+ color: var(--text-color);
+ line-height: 1.6;
+ }
+
+ header {
+ background-color: var(--primary-color);
+ color: white;
+ padding: 2rem;
+ text-align: center;
+ }
+
+ main {
+ max-width: 800px;
+ margin: 2rem auto;
+ padding: 1rem;
+ background: white;
+ border-radius: var(--border-radius);
+ box-shadow: var(--box-shadow);
+ }
+
+ form {
+ display: grid;
+ gap: 1rem;
+ }
+
+ label {
+ font-weight: bold;
+ }
+
+ input, select, button {
+ padding: 0.75rem;
+ border: 1px solid #ddd;
+ border-radius: var(--border-radius);
+ font-size: 1rem;
+ }
+
+ button {
+ background-color: var(--secondary-color);
+ color: white;
+ border: none;
+ cursor: pointer;
+ transition: background-color 0.3s ease;
+ }
+
+ button:hover {
+ background-color: #2980b9;
+ }
+
+ #results {
+ margin-top: 2rem;
+ padding: 1rem;
+ background-color: #f9f9f9;
+ border-radius: var(--border-radius);
+ }
+
+ .hidden {
+ display: none;
+ }
+
+ footer {
+ text-align: center;
+ padding: 1rem;
+ background-color: var(--primary-color);
+ color: white;
+ margin-top: 2rem;
+ }
+
+ @media (max-width: 768px) {
+ main {
+ margin: 1rem;
+ padding: 1rem;
+ }
+ }