Created
February 7, 2019 19:49
-
-
Save brettvaida/1738f5f06282a64d0755454815bd6823 to your computer and use it in GitHub Desktop.
Display a copyright symbol and the current year
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.getElementById("copyright").innerHTML = | |
"© " + new Date().getFullYear(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span id="copyright"></span> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment