Skip to content

RabbanAli1122/qr-code-generator-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QR Code Generator

License: MIT
HTML
CSS
JavaScript

A simple web app to generate customizable QR codes from any text or URL. Built using vanilla JavaScript, HTML5, and CSS3.

✨ Features

  • Generate QR codes for both text and URLs
  • Customize QR code dimensions
  • Download the QR code as a PNG image
  • Clean, responsive UI

📺 Live Demo

👉 Live GitHub Pages Demo

🖼️ Screenshots

Homepage view with input options
Screenshot 1

Generated QR code example
Screenshot 2

Download feature and UI layout
Screenshot 3

🛠️ Technologies Used

  • HTML5
  • CSS3
  • JavaScript (ES6)
  • qrcode.js – JavaScript library for generating QR codes

🚀 Getting Started

To run the project locally:

# Clone the repository
git clone https://github.com/RabbanAli1122/qr-code-generator-js.git

# Navigate into the directory
cd qr-code-generator-js

# Open index.html in your browser
open index.html  # or use your file explorer

🧠 Lessons Learned

  1. Captured and validated user input dynamically using JavaScript
  2. Integrated external JS libraries like qrcode.js to generate QR codes
  3. Implemented canvas-based image download using toDataURL()
  4. Designed a responsive UI layout with CSS3 Flexbox/Grid
  5. Improved experience in DOM manipulation, event handling, and minimalist design principles

📚 Acknowledgements

This project was made possible through various open-source libraries and documentation. Special thanks to the developers of qrcode.js.

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Generates QR codes in-browser from user input using JavaScript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published