Hello everyone, please forgive my ignorance in regards to JS, it is certainly not my strong suit.
I am trying to install a JS countdown plugin (http://countdownjs.org/) on a blank Wordpress template, but for some reason, I can not get the it to display. I want to start a countdown clock, only counting by days, until March 31, 2014.
I am calling the countdown.js file from my root directory in the <head>, and I have this code where I want the program to generate the result:
var timespan = countdown(start|callback, end|callback, units, max, digits);
countdown( new Date(2013, 3, 31) ).toString();
ts.toHTML() => "<span>5 years</span>, <span>1 month</span>, <span>19 days</span>, <span>12 hours</span>, and <span>17 minutes</span>"
Can someone please help me learn what I am doing wrong?