/daygreeting

Primary LanguageJavaScriptMIT LicenseMIT

📆
Daygreeting.js

Dynamically display the current day of the week

GitHub GitHub release (latest SemVer)

Netlify Status

Demo

Demo page

Installation

Adding Daygreeting to your project is remarkably simple:

  1. Link daygreeting.min.js or daygreeting.js to your project.

CDN:

<script src="https://cdn.jsdelivr.net/gh/inqcreative/daygreeting/dist/daygreeting.min.js"></script>

Or

<script src="https://cdn.jsdelivr.net/gh/inqcreative/daygreeting/dist/daygreeting.js"></script>

NPM:
npm install @inqcreative/daygreeting@latest

  1. Create a text element that will contain the day greeting (eg. <p id="daygreeting"></p>)
  2. Voilà! 🥳