Skip to content

Latest commit

 

History

History
64 lines (40 loc) · 2.17 KB

File metadata and controls

64 lines (40 loc) · 2.17 KB
author Ajay Yadav 🎯
handle @ATechAjay
source https://twitter.com/ATechAjay/status/1542098394037878785
date June 29, 2022 2:51 PM
likes 241
retweets 61
replies 17

ATechAjay Ajay Yadav 🎯 (@ATechAjay) - June 29, 2022 2:51 PM

1️⃣1️⃣ / 5️⃣0️⃣ The Ultimate JavaScript Projects Series!

🎉 Footer Date Auto Update

A Thread🧵↓ pic.twitter.com/NEngT0FJ7g

3_1542098384852361217

📌 As a web developer, we have to make sure to always keep updated our website.

📌 The Footer section is one of them because here we have to keep updating the year.

😍 That's why this thread comes to the rescue.

  • So, it's a mini-project just we have to include 3 lines of JavaScript code.

  • And the date of the footer will automatically change every year.

  • Just we have to call the Date( ) function using the "getFullYear()" method.

  • getFullYear() returns the year in the form of 4 digits.

  • And assign it as the date of the footer section. pic.twitter.com/zo6LxIIjjj

3_1542098403537997824

🔔 One more thing, if you want to learn the awesome projects from this series then you should follow this Github repository.

🔔 Don't forget to give a star ⭐ to this repository, also if you didn't follow me on GitHub then consider following me.

github.com/ATechAjay/50-T…

😍Try it from here:

codepen.io/atechajay/pen/…

That's all for now, we will meet in the next thread😍

🔔 Follow Me @ATechAjay For:

🌐 Web Development ✨ JavaScript 📝 Writing Skill 🔥 Motivation 💹 Growth ⛔ But Not For Only Resources & Shitpost 😁

Thank you so much for staying to the end of this thread💚

Thread link