From 13c02f09e968f8ed72cafc4c739e4c6707e20189 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Sat, 1 Nov 2025 04:34:24 +0000 Subject: [PATCH] 10.546 --- assets/css/custom.css | 19 ++++ assets/js/main.js | 23 +++++ index.php | 215 ++++++++++++++---------------------------- 3 files changed, 112 insertions(+), 145 deletions(-) create mode 100644 assets/css/custom.css create mode 100644 assets/js/main.js diff --git a/assets/css/custom.css b/assets/css/custom.css new file mode 100644 index 0000000..3e12fe1 --- /dev/null +++ b/assets/css/custom.css @@ -0,0 +1,19 @@ +body { + font-family: 'Inter', sans-serif; +} + +.hero { + background: linear-gradient(45deg, #0D6EFD, #6f42c1); + color: white; + padding: 6rem 0; + text-align: center; +} + +.calculator-section { + padding: 4rem 0; +} + +.calculator-card { + border: none; + box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); +} diff --git a/assets/js/main.js b/assets/js/main.js new file mode 100644 index 0000000..c5037c7 --- /dev/null +++ b/assets/js/main.js @@ -0,0 +1,23 @@ +document.addEventListener('DOMContentLoaded', function () { + const amountInput = document.getElementById('amount'); + const vatInput = document.getElementById('vatPercentage'); + const vatAmountOutput = document.getElementById('vatAmount'); + const totalAmountOutput = document.getElementById('totalAmount'); + + function calculate() { + const amount = parseFloat(amountInput.value) || 0; + const vatPercentage = parseFloat(vatInput.value) || 0; + + const vatAmount = amount * (vatPercentage / 100); + const totalAmount = amount + vatAmount; + + vatAmountOutput.textContent = vatAmount.toFixed(2); + totalAmountOutput.textContent = totalAmount.toFixed(2); + } + + amountInput.addEventListener('input', calculate); + vatInput.addEventListener('input', calculate); + + // Initial calculation + calculate(); +}); diff --git a/index.php b/index.php index 7205f3d..925b85a 100644 --- a/index.php +++ b/index.php @@ -1,150 +1,75 @@ - - + - - - New Style - - - - - - - - - - - - - - - - - - - + + + 92 win + + + + + + + + + + + + + + -
-
-

Analyzing your requirements and generating your website…

-
- Loading… -
-

AI is collecting your requirements and applying the first changes.

-

This page will update automatically as the plan is implemented.

-

Runtime: PHP — UTC

-
-
- + +
+
+

Interactive Calculators

+

Simple, useful, and easy to share. Get instant results.

+
+
+ +
+
+
+
+
+
+

VAT Calculator

+
+ +
+ $ + +
+
+
+ +
+ + % +
+
+
+
+ VAT Amount: + $0.00 +
+
+ Total (incl. VAT): + $0.00 +
+
+
+
+
+
+
+ + + + + - + \ No newline at end of file