o_name}"">Generate QR code</button>`;
                const area = document.getElementById(`text-${demo_name}`);
                const button = document.getElementById(`button-${demo_name}`);
                button.addEventListener("click", () => {
                    const url = `./qr.html#${encodeURIComponent(area.value)}`;
                    // open the QR code generator in a new tab
                    open(url, "_blank");
                })
            }

            const area = document.getElementBy