<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="UTF-8">
<title>QR Kod Oluşturucu</title>
<style>
body { font-family: Arial; max-width: 500px; margin: 40px auto; }
input, button { padding: 10px; font-size: 16px; width: 100%; }
img { margin-top: 20px; width: 200px; height: 200px; }
</style>
</head>
<body>
<h2>QR Kod Oluştur</h2>
<input id="text" type="text" placeholder="Metni veya URL'yi yazın">
<button onclick="generate()">QR Kod Oluştur</button>
<img id="qrcode" src="" alt="QR Kod" />
<script>
function generate() {
const value = document.getElementById('text').value;
if (!value) return;
const url = "https://chart.googleapis.com/chart?cht=qr&chs=300x300&chl="
+ encodeURIComponent(value);
document.getElementById('qrcode').src = url;
}
</script>
</body>
</html>Buyur hocam editörü açıp bu kodu ekle. Dosyayı .html olarak kaydedip direkt kullanabilirsin. Kolay gelsin.