A Web App generating QR Code for texts and URL
Frontend , API
HTML, CSS, Javascript, JSON, API
- User has to input text or URL in the Input box
- Clicking the button "Generate QR" generates the QR Code
- The QR image is fetched from
QR code APIurl ->https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=Example - The QR code is generated for the value passed for the
dataproperty in the url - To remove the QR code generated, either
Refreshthe browser orremovethe text from Input box
- If entered text = 0 or "" : QR is not generated and
QR not fetcheddisplays on the button - If the API sends unwanted response , then also
QR not fetcheddisplays on the button
CSS Flexbox, Transition, Fetch API, Promise, then() method, DOM manipulation, DOM style manipulation with JS
height and width attributes can be over-ridden by new class attached to the same element
- QR Code downloading feature
- QR Code Screenshot and scanning feature

