(quick guide & example)
JS
GENERATE QR CODE HERE <div id="qr"></div>
CREATE QR CODE <script> new QRCode(document .getElementById("qr"), "https://code-boxx.com/"); </script>
TELEPHONE new QRCode(document. getElementById("qr"), "tel:+12345678");
SMS new QRCode(document. getElementById("qr"), "sms:+12345678");
VCARD let card = "BEGIN:VCARD\r\n"; card += "VERSION:3.0\r\n"; card += "FN:Jo Doe\r\n"; card += "TEL;TYPE=home:tel:+1-123-456"; card += "EMAIL;TYPE=internet: jo@doe.com"; new QRCode(document. getElementById("qr"), card);
new QRCode(document. getElementById("qr"), { text: "https://code-boxx.com/", width: 100, height: 100, colorDark: "#ff0000", colorLight: "#ffffff", correctLevel : QRCode.CorrectLevel.H });