Using on copyright
<div class="footer">
<p>
Copyright ©
<script>document.write(new Date().getFullYear());</script> | Created by
<a href="https://instagram.com/karytonn.dev" target="_blank" rel="noopener">Karytonn DEV</a>
</p>
</div>
Get Full Year with Javascript