Skip to content

Commit

Permalink
Issue No. #54 Fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
gauravsingh1281 committed Oct 11, 2023
1 parent 576d580 commit 46d2b46
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions JS/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: 2 additions & 2 deletions Mission.html
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ <h2 class="jobtitle">SPADEX or Space Docking Experiment</h2>

<footer>
<ul>
<li>ISRO &copy; 2023</li>
<li>ISRO &copy; <span id="copyright-year"></span> </li>
<li><a href="https://twitter.com/isro" target="_blank">Twitter</a></li>
<li><a href="https://www.youtube.com/@isroofficial5866" target="_blank">YouTube</a></li>
<li><a href="https://www.linkedin.com/company/isro/" target="_blank">LinkedIn</a></li>
Expand All @@ -200,7 +200,7 @@ <h2 class="jobtitle">SPADEX or Space Docking Experiment</h2>
</ul>
</footer>


<script src="./JS/copyrightYear.js"></script>
</body>

</html>
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ <h2>Subscribe to Our Newsletter</h2>

<footer>
<ul>
<li>ISRO &copy; 2023</li>
<li>ISRO &copy; <span id="copyright-year"></span></li>
<li><a href="https://twitter.com/isro" target="_blank">Twitter</a></li>
<li><a href="https://www.youtube.com/@isroofficial5866" target="_blank">YouTube</a></li>
<li><a href="https://www.linkedin.com/company/isro/" target="_blank">LinkedIn</a></li>
Expand All @@ -232,6 +232,6 @@ <h2>Subscribe to Our Newsletter</h2>
</ul>
</footer>


<script src="./JS/copyrightYear.js"></script>
</body>
</html>

0 comments on commit 46d2b46

Please sign in to comment.