Spaces:
Running
Running
Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
|
@@ -248,7 +248,7 @@
|
|
| 248 |
padding-bottom: 0.5rem;
|
| 249 |
}
|
| 250 |
|
| 251 |
-
#output-
|
| 252 |
background: rgba(0, 5, 10, 0.9);
|
| 253 |
border: 1px solid var(--hacker-border);
|
| 254 |
padding: 1rem;
|
|
@@ -806,7 +806,7 @@
|
|
| 806 |
})();
|
| 807 |
|
| 808 |
document.getElementById("copyButton").onclick = function() {
|
| 809 |
-
const textToCopy = document.getElementById("output-
|
| 810 |
navigator.clipboard.writeText(textToCopy).then(() => {
|
| 811 |
alert("CODE COPIED TO CLIPBOARD!");
|
| 812 |
}).catch(err => {
|
|
|
|
| 248 |
padding-bottom: 0.5rem;
|
| 249 |
}
|
| 250 |
|
| 251 |
+
#output-html {
|
| 252 |
background: rgba(0, 5, 10, 0.9);
|
| 253 |
border: 1px solid var(--hacker-border);
|
| 254 |
padding: 1rem;
|
|
|
|
| 806 |
})();
|
| 807 |
|
| 808 |
document.getElementById("copyButton").onclick = function() {
|
| 809 |
+
const textToCopy = document.getElementById("output-html").innerText;
|
| 810 |
navigator.clipboard.writeText(textToCopy).then(() => {
|
| 811 |
alert("CODE COPIED TO CLIPBOARD!");
|
| 812 |
}).catch(err => {
|