MALOWANIE NATRYSKOWE

OFERTA

MALOWANIE NATRYSKOWE

Firma POSBET wykonuje malowanie natryskowe:

  1. Znaków poziomych,
  2. Oznaczeń pionowych,
  3. Numeracji,
  4. Wydzielanie boksów parkingowych

<!DOCTYPE html>

<html lang="pl">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Kalkulator mycia posadzki</title>

<style>

/* Stylowanie kalkulatora */

#calculator-container {

padding: 20px; background-color: #f4f4f4; border-radius: 8px; max-width: 400px; margin: 0 auto; font-family: Arial, sans-serif; } input[type="number"] { width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 16px; } button { width: 100%; padding: 10px; background-color: #4CAF50; color: white; font-size: 16px; border: none; border-radius: 4px; cursor: pointer; } button:hover { background-color: #45a049; } p { font-size: 18px; font-weight: bold; } </style>

<script> function calculatePrice() { var m2 = document.getElementById("squareMeters").value; var pricePerM2; if (m2 <= 1000) { pricePerM2 = 5.90 * (1 + (1000 - m2) / 1000 * 0.15); } else { pricePerM2 = 5.90 * (1 - (m2 - 1000) / 1000 * 0.10); } document.getElementById("result").innerHTML = "Cena za " + m2 + " m²: " + pricePerM2.toFixed(2) + " zł"; } </script> </head> <body> <div id="calculator-container"> <h2>Kalkulator mycia posadzki</h2> <label for="squareMeters">Wprowadź powierzchnię (m²): </label> <input type="number" id="squareMeters" placeholder="Wpisz m²" oninput="calculatePrice()"> <button onclick="calculatePrice()">Oblicz cenę</button> <p id="result"></p> </div> </body> </html>