Skip to content

Commit

Permalink
Issue No #182 Fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
gauravsingh1281 committed Feb 17, 2024
1 parent b00f981 commit a464c08
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions copyrightYear.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
let copyRightYear = document.getElementById("copyright-year");
let currentDate = new Date();
let currentYear = currentDate.getFullYear();
copyRightYear.innerText = currentYear;
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ <h2>CareerLaunch <br />Accelerator</h2>
</div>
<div class="copyright">
<h3>
Copyright &copy; 2024 Virtuo Learn | All rights reserved | Developed
Copyright &copy; <span id="copyright-year"></span> Virtuo Learn | All rights reserved | Developed
By <a href="https://github.com/JAYESHBATRA">Jayesh Batra</a>
</h3>
</div>
Expand Down Expand Up @@ -563,5 +563,7 @@ <h3>
</script>
<script src="scroll-reveal.js"></script>
<script src="mode-switch.js"></script>
<!-- copyright-year Script -->
<script src="./copyrightYear.js"></script>
</body>
</html>

0 comments on commit a464c08

Please sign in to comment.