Skip to content

Commit ca2771d

Browse files
Add footer and dynamic copyright year script
Added footer with copyright year and dynamic date script.
1 parent 13826bb commit ca2771d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ <h1>Password Generator</h1>
3737
<button class="copy-btn" id="copyBtn"><strong>🗐 Copy</strong></button>
3838
</div>
3939
</div>
40-
40+
<div class="footer"><a href="https://github.com/JustinVerstijnen/DNSMegaTool">&copy; <span id="copyright-year">2025</span> DNS MEGAtool by Justin Verstijnen</a></div>
41+
<script>
42+
document.getElementById('copyright-year').textContent = new Date().getFullYear();
43+
</script>
4144
<script src="assets/script.js"></script>
4245
</body>
4346
</html>

0 commit comments

Comments
 (0)