mohssineAboutaj / countdown-timer-pure-js

A simple and html agnostic date countdown pure javaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Countdown Timer - pure javaScript

A simple HTML date countdown pure javaScript

How To Use:

  1. Create a parent element
  2. set id="timer"
  3. set data-hours for the hours counter
  4. set data-minutes for the hours counter
  5. set data-seconds for the hours counter

Note if you dont set data-hours, data-minutes, data-seconds by default these set value 0

Example:

<div id="timer" data-hours="1" data-minutes="2" data-seconds="3"></div>

References:

Original project on Codepen.io.

About

A simple and html agnostic date countdown pure javaScript

License:Other


Languages

Language:JavaScript 69.2%Language:HTML 30.8%