/updateYourYearPLZ

Lightweight Javascript library for footer date

Primary LanguageJavaScriptMIT LicenseMIT

Update Your Year PLZ year

You should always update your footer year. This repo will let Javascript do it for you.

How to import updateYourYearPLZ

In your head section, add the following tag:

<script src="https://cdn.rawgit.com/jusleg/updateYourYearPLZ/111cb805/updateYourYearPLZ.js"></script>

How to use updateYourYearPLZ

To leverage the incredible features of updateYourYearPLZ, add a span tag with the id equal to updateYourYearPLZ. We'll take care of the rest.

Example

...
<div class="footer">
  <p>UpdateYourYearPLZ <span id="updateYourYearPLZ"></span></p>
</div>
...