How to make and generateQR Code with JavaScript – Center Align the QR Code

This tutorial is answering a question about how to center align the qr code image generated by qrcode.js library on my previous video:

And the answer is relatively easy, we can adjust the styling of the div containing qr code image to make it center aligned.

You can download the library from here:

qrcode.js library is very simple and useful JavaScript library that can help you generate qr code images easily.

You can dowload the source code here:


Leave a Reply

Your email address will not be published. Required fields are marked *