JavaScript Code Snippets JavaScript: Creating a Down Counter 7 years ago Article Example: A counter that will count down from 20 in one second intervals.