use innerHTML to generate the QR code