Adding Daygreeting to your project is remarkably simple:
- Link
daygreeting.min.js
ordaygreeting.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
- Create a text element that will contain the day greeting (eg.
<p id="daygreeting"></p>
) - Voilà! 🥳