;
for (var i = 0; i < elements.length; i++) {
    const element = elements[i]
    const text = element.innerHTML
    elements[i].addEventListener("click", function() {
        navigator.clipboard.writeText(text.trim());
    });
}</script>
  </body>
</html>
