Countdown timer loop javascript

I’m looking to implement a countdown timer that loops on my site. I’m using this javascript, but when I put it onto the page footer it isn’t working properly…

Firstly, you need to wrap the JS in <script> and </script> tags.

Also looks like you may need a Paragraph element inside the target div, then you’ll probably be set.