Giter Site home page Giter Site logo

qr-code-generator's Introduction

QR-Code-Generator

A Web App generating QR Code for texts and URL

Phase

Frontend , API

Tech used

HTML, CSS, Javascript, JSON, API

Description

  1. User has to input text or URL in the Input box
  2. Clicking the button "Generate QR" generates the QR Code
  3. The QR image is fetched from QR code API url -> https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=Example
  4. The QR code is generated for the value passed for the data property in the url
  5. To remove the QR code generated, either Refresh the browser or remove the text from Input box

Validation

  1. If entered text = 0 or "" : QR is not generated and QR not fetched displays on the button
  2. If the API sends unwanted response , then also QR not fetched displays on the button

Concepts implemented

CSS Flexbox, Transition, Fetch API, Promise, then() method, DOM manipulation, DOM style manipulation with JS

New learning

height and width attributes can be over-ridden by new class attached to the same element

Future Plans

  1. QR Code downloading feature
  2. QR Code Screenshot and scanning feature

References

  1. Coding Nepal Youtube Channel

  2. QR Code API


Snapshots

QR 1

QR 2


qr-code-generator's People

Contributors

kumaramit1947 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.