varparametersJson={"size":250,// Size of Qr Code"backgroundColor":"38-38-38",// Background Color Of Qr Code (In RGB)"qrColor":"255-255-255",// Color of Qr Code (In RGB)"padding":2,// Padding "data":"dev.to"};varparameters;varbtn=document.querySelector("button");varimg=document.querySelector("img");varinput=document.querySelector("input");btn.addEventListener("click",function(){parametersJson.data=input.value||"dev.to";parameters=`size=${parametersJson.size}&bgcolor=${parametersJson.backgroundColor}&color=${parametersJson.qrColor}&qzone=${parametersJson.padding}&data=${parametersJson.data}`// Stitch Together all Paramentersimg.src=`https://api.qrserver.com/v1/create-qr-code/?${parameters}`// Set Image URL To Link});
Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.
Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.
Top comments (2)
Good One!
nice one