Created
October 19, 2020 23:13
-
-
Save kcollasarundell/912a3c037b17fb7167e311f69693ccaa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="/scripts/qrcode.js/qrcode.min.js"></script> | |
<script type="text/javascript"> | |
var qrs = document.getElementsByClassName("qrcode") | |
Array.from(qrs).forEach(element => { | |
new QRCode(element,{ | |
height: window.innerHeight*0.5, | |
width: window.innerHeight*0.5, | |
border: 4, | |
text: "linkhere", | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment