Generate & Download QR Code in HTML and JavaScript

preview_player
Показать описание
In this short tutorial, you'll learn how to generate and download QR code using HTML and JavaScript.

Follow me on Instagram

Hire me on Fiverr

Visit my website for helpful coding projects with source code

Music credit:
Wanderlust — CRASTEL

#coding #javascript #js #htmlcss #react #reactjs #node #nodejs #html #css #jstips #backend #javascripttips #shorts #webdevelopment #typinganimation #webdeveloper #webdesign #frontend #codingforbeginners #cssanimation #csseffect #javascriptprojects #jsproject #codingnepal #how #howto #howtomake
Рекомендации по теме
Комментарии
Автор

You are not generating it with js, just calling an API. This is insanely problematic when it contains sensitive user data like for example 2 FA secret codes. Because then there is network traffic in your logs containing people's secret keys. Also, the provider could store the requests with the codes. Just use a library instead...

felixbemme
Автор

If you click many times on generate button it will create a lot of <a> tags 🤔

Juanmv
Автор

Some browsers only allow the click of an a tag when it is placed on the page. So I would do that with opacity 0 and remove it afterwards.

jojojux
Автор

Why do you use a query selector instead of assigning a function to the button’s onclick attribute?

Actionme
Автор

huge red flag. dont ever use external APIs for QR code..

Stuntman
Автор

Can you make a QR code generator that takes image as input and generates the QR code for it

architgupta
Автор

just use a library why rely on 3d party api

dogik
Автор

but I don't think spaces will work here

kubazary
Автор

Bro I want to know how to learn js beginner

ayushgammer
Автор

download blocked by cors, in production! any one try production?

siyamul_islam
Автор

Nothing says “coding in js” like doing the bare minimum to call someone else’s api. 👎

bob_kazamakis
Автор

How to make colorful or other design QR code❤❤❤ overall thanks

dataworldofficial
Автор

Can someone explain me the const blob line? I don't get it

geronimo
Автор

Ah yes, just another fetch, instead of generation

Tikayy
Автор

Why bother with mathematics when you can always waste resources and be dependent on third party provider that collects all of your user data :).

justanaveragebalkan