Sıcaklık Dönüştürücü Sıcaklık Dönüştürücü Celsius Fahrenheit Kelvin Dönüştür function convertTemperature() { const temperature = parseFloat(document.getElementById("temperature").value); const unit = document.querySelector('input[name="unit"]:checked').value; let result; if (unit === "celsius") { result = `${temperature} °C = ${(temperature * 9/5) + 32} °F = ${temperature + 273.15} K`; } else if (unit === "fahrenheit") { result = `${temperature} °F = ${(temperature - 32) * 5/9} °C = ${(temperature - 32) * 5/9 + 273.15} K`; } else if (unit === "kelvin") { result = `${temperature} K = ${temperature - 273.15} °C = ${(temperature - 273.15) * 9/5 + 32} °F`; } document.getElementById("result").innerHTML = result; }