Skip to content

Commit 924a69a

Browse files
Merge pull request #1455 from Divya5003/patch-2
Added date function to update date automatically
2 parents 6d2c58c + 5319f67 commit 924a69a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Projects/Shades/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ <h6>Get monthly updates on your inbox</h6>
282282
</div>
283283
<div class="copyright">
284284
Made by <a href="https://www.linkedin.com/in/sumit-kumar-rai-b59290233/" target="_blank"> Sumit Kumar</a> &copy;
285-
2022 | All rights reserved
285+
<span id='date'></span> | All rights reserved
286286
</div>
287287
</footer>
288288

@@ -294,6 +294,7 @@ <h6>Get monthly updates on your inbox</h6>
294294
AOS.init({
295295
duration: 1000,
296296
});
297+
document.getElementById('date').innerHTML = new Date().getFullYear();
297298
</script>
298299
</body>
299300

0 commit comments

Comments
 (0)