Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ <h1 class="">ProgrammerGaurav</h1>
</section>
<section>
<div class="copyright fixed-bottom">
Gaurav Gupta &copy;2019
Gaurav Gupta &copy;<span id="footer-date"></span>
</div>
</section>
<script src="js/jquery.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ <h3>Let's Chat</h3>
</div>
</div>
<div class="copyright">
<span>Gaurav Gupta &copy;2020</span>
<span>Gaurav Gupta &copy;<span id="footer-date"></span></span>
</div>
</section>
<!-- Footer Ends -->
Expand Down
3 changes: 3 additions & 0 deletions js/script.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
new WOW().init();

const footerDate = document.getElementById("footer-date");
const year = new Date().getFullYear();
footerDate.innerHTML = year;
var frm = document.querySelector('#contact')
frm.addEventListener("submit", (e) => {
e.preventDefault();
Expand Down