Skip to content

Commit

Permalink
Updated right tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Benruren authored May 25, 2024
1 parent 1150c90 commit ba0cc14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ <h3 class="contact-text">While being a busy bee, I am always up for an interesti

<script>
document.addEventListener('DOMContentLoaded', (event) => {
const currentYearSpan = document.getElementById('currentYear');
const copyrightElement = document.querySelector('.copyright');
const currentYear = new Date().getFullYear();
currentYearSpan.textContent = currentYear;
copyrightElement.innerHTML = ${currentYear} Rúben Araújo.`;
});
</script>

Expand Down

0 comments on commit ba0cc14

Please sign in to comment.