Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
HarshNA044 authored May 24, 2024
1 parent ee2e37c commit e89fa9c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Harsh Projects Corner</title>
<style>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<style>
body {
margin: 0;
padding: 0;
Expand Down Expand Up @@ -949,9 +950,9 @@ <h2 style="text-align: left;"><u>Dependencies, Limitations, and Assumptions:</h2
document.execCommand('copy');
window.getSelection().removeAllRanges();
var copyButton = document.querySelector('.copy-button');
copyButton.textContent ='Code Copied!';
<i class="fas fa-check"></i> copyButton.textContent ='Code Copied!';
setTimeout(function() {
copyButton.textContent ='Copy Code';
<i class="fas fa-copy"></i>copyButton.textContent ='Copy Code';
}, 2000);
}
</script>
Expand Down

0 comments on commit e89fa9c

Please sign in to comment.