0 points

How to dynamically update your site's copyright year


dashboard

Fri Dec 27 2019 10:44:21 GMT+0000 (UTC)

Posted by @goblindoom95 #html #javascript #howto

<p id="copyrightyear"></p>

<script>
   document.getElementById('copyrightyear').innerHTML
</script>
content_copy

This way you don't have to manually update it every year

https://dev.to/vivekanandpadala/javascript-snippet-for-dynamically-updating-footer-copyright-year-3cdp

>> Browse more code snippets

more_vert