Author: | iqbal-web |
---|---|
Views Total: | 38 views |
Official Page: | Go to website |
Last Update: | August 24, 2023 |
License: | MIT |
Preview:

Description:
A minimalist countdown timer JS library that displays the remaining time to a target date/time in days, hours, minutes, and seconds.
Great for displaying countdowns to upcoming events, launch dates, promotions, or any date/time in the future.
How to use it:
1. Install & download the countdown-js.
# NPM $ npm i coundowntimer-js
2. Include the countdown.js script in your web project.
<script src="countdown.js"></script>
3. Create an empty DIV element to hold the countdown timer.
<div id="countdown"></div>
4. Initialize the countdown-js on the countdown container and specify the target date as follows:
Countdown.init('2033-08-24', 'countdown');