Day 12: QR Code Generator

Generate and download QR codes from any text using the QRServer API and fetch().

Enter text and click Generate QR.
How it works (short)

The script builds a query URL (e.g. https://api.qrserver.com/v1/create-qr-code/?size=300x300&data=...&ecc=M&margin=2), calls it with fetch() and receives the PNG image as a blob. We create an object URL and display it in an <img> tag and allow the user to download or open the image in a new tab.