soiz1 commited on
Commit
922ef2f
·
verified ·
1 Parent(s): 8be6270

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +2 -2
index.html CHANGED
@@ -248,7 +248,7 @@
248
  padding-bottom: 0.5rem;
249
  }
250
 
251
- #output-code {
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-code").innerText;
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 => {