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