Skip to content

Commit ad1e7ad

Browse files
committed
added date function
1 parent 0a77ac4 commit ad1e7ad

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)