Coder Social home page Coder Social logo

zolee1337 / react-qrcode-generator Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 1.78 MB

This challenge was to build the QR Code component, but it has become something more complex than a simple component!

Home Page: https://denielden.github.io/react-qrcode-generator/

JavaScript 50.14% CSS 36.22% HTML 13.64%

react-qrcode-generator's Introduction

QR Code Generator component - Frontend Mentor

This challenge was to build the QR Code component, but it has become something more complex than a simple component!
Inspired by another project, I also wanted to add features to this challenge:

  • On load, it shows the default basic QR Code
  • Added a form that allows the user to enter a website URL to generate a QR Code for it
  • Dynamically update the QR Code as you type the URL
  • Dynamically update the color and background of the QR Code based on the customization input entered by the user
  • When the form is sent, the .png of the generated QR Code is downloaded

This is a evolved solution to the QR code component challenge on Frontend Mentor.

Table of contents

Overview

Screenshot

QRcode Generator

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow
  • React - JS library
  • QRCode.react - For QR Code

What I learned

With this challenge I had the opportunity to learn and deepen:

  • the use and manipulation of QRCode.react
  • the correct use of Refs in react
  • how the html canvas element works behind the scenes

I am eager to further evolve this project and learn much more!

Continued development

Add new features:

  • Insert custom image inside the QR Code
  • Choose the format of the image to download
  • Connect with serverless database
  • SignIn/Login
  • Save the QR Code generated

Useful resources

Author

Special thanks to @Remus432, he have really inspired me to create this dinamic component!
Thank you for taking the time to check out my project!

Have fun building! ๐Ÿš€

react-qrcode-generator's People

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.