<!DOCTYPE html>
<html>
<head>
  <title>QR Code Example</title>
  <script src="https://cdn.jsdelivr.net/npm/qrcodejs/qrcode.min.js"></script>
</head>
<body>

<h3>QR Code:</h3>
<div class="qrcode" id="qrcode"></div>

<script>
  var QRURLLink = "https://result.bouedu.org/document.php?sid=12032810611";

  function createQr() {
    var qrcodeContainer = document.getElementById('qrcode');
    qrcodeContainer.innerHTML = ""; // Clear previous QR
    new QRCode(qrcodeContainer, {
      text: QRURLLink,
      width: 128,
      height: 128
    });
  }

  // Call the function
  createQr();
</script>

</body>
</html>
