MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / func

Function func

assets/js/QRCode.js:1–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1function func(){
2 var x = document.getElementById("input").value;
3 var url = `https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=${x}`;
4
5 var img = document.getElementById("img");
6
7 img.src = url;
8 console.log(url);
9 }

Callers 2

physics-matter.jsFile · 0.70
fireOnceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected