Skip to content

Commit

Permalink
footer year dynamatic with script
Browse files Browse the repository at this point in the history
  • Loading branch information
rijumia committed Jan 2, 2025
1 parent 64399fa commit 2f4a16e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file added assets/img/footer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Responsive Bootstrap 5 Footer</title>
<link rel="shortcut icon" href="assets/img/footer.png" type="image/x-icon">
<!-- Bootstrap 5 Min CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<!-- Bootstrap 5 Icons -->
Expand Down Expand Up @@ -65,7 +66,7 @@ <h6 class="footer-heading text-uppercase text-white fw-bold">Contact Us</h6>
</div>
</div>
<div class="text-center bg-success text-white mt-4 p-1">
<p class="mb-0 fw-bold">2025 © Riju, All Rights Reserved</p>
<p class="mb-0 fw-bold"><script>document.write(new Date().getFullYear())</script> © Riju, All Rights Reserved</p>
</div>
</footer>

Expand Down

0 comments on commit 2f4a16e

Please sign in to comment.