Closed shiva-sunar closed 11 months ago
Pull request #62 implements this feature, but here is an alternative:
js.js
.function copyToClipboard(stringText) {
navigator.clipboard.writeText(stringText);
}
index.html
(after button generate-button
).<button type="button" class="btn btn-success" onclick="copyToClipboard(document.getElementById('c').value);">Copy</button>
Thanks for the reply...
It would be easier to copy the code, if we have the copy to clipboard button.