[How To] Add A Countdown Timer To A Specific Date

How did you get it to work in both places? I’ve got the source the same for both and 1 javascript but nothing is working on the second countdown

What I did was create two differents timers with 2 different Javascript code. And every timer needs to have the same name in the javascript code.

For example, the code for the timer 1: https://www.screencast.com/t/olu0GrY1x2
And this is the code for the timer 2: https://www.screencast.com/t/V1ZVLOJu

I hope this can help. I’m not programmer so I don’t know how to explain this correctly.

Hi Elspeth

What I did was create two differents timers with 2 different Javascript code. And every timer needs to have the same name in the javascript code.

For example, the code for the timer 1: https://www.screencast.com/t/olu0GrY1x2
And this is the code for the timer 2: https://www.screencast.com/t/V1ZVLOJu

I hope this can help. I’m not programmer so I don’t know how to explain this correctly.

1 Like

Does anyone know how to program it so it repeats?

For example, I would want the timer to repeat a 24 hour countdown everyday.

2 Likes

nice solution

Thank u :heart:

Works great but I cannot change the font type or text background

How can I make the timer work in 3 different spots on the same landing page. I was able to get the 1st timer to work but not the rest.

I also need this function. Did you manage to solve this?

Yes,
https://community.unbounce.com/t/how-to-add-a-countdown-timer-to-a-specific-date/5335

https://gist.github.com/noahub/f1ee0415dacf9915fa9dcf82b6ef8e12

Jist change the date

Hi Agencia 1x,

I create the script but how can create the css style for the script ¿? could you help me ¿? I want to change the font size and the color style.

I know that I need to create on CSS Stylesheets but I don´t know

Regards

Hi, I’m setting up a landing page for a webinar. The CTA text next to my countdown is “Register Now” but I would like it to be “Watch Now” once the countdown hits 0. How would I be able to do that? Thanks for your help