---
title: "Discussion on \"Vanilla JavaScript countdown clock\" | Hashnode"
description: "Discussion on \"Vanilla JavaScript countdown clock\". A time ago, we made this cool year loading bar, and this made me think a countdown timer would also be cool.\nSince I'm getting married next year, let's use that as an example.\nWe will be creating an end date, and every second we will check how long a..."
url: "https://hashnode.com/posts/vanilla-javascript-countdown-clock/5faf63577fcc8d387fc0d7d1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Vanilla JavaScript countdown clock](https://h.daily-dev-tips.com/vanilla-javascript-countdown-clock?utm_source=hashnode&utm_medium=feed)

A time ago, we made this cool year loading bar, and this made me think a countdown timer would also be cool. Since I'm getting married next year, let's use that as an example. We will be creating an end date, and every second we will check how long a...

Nov 14, 2020 · 4 min read · h.daily-dev-tips.com  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#vanilla-js-1](https://hashnode.com/tag/vanilla-js-1)
-   [#programming](https://hashnode.com/tag/programming)
-   [#2articles1week](https://hashnode.com/tag/2articles1week)

## Written by

[Chris Bongers](https://hashnode.com/@dailydevtips)

@dailydevtips · Cape Town, SA

  
[View profile](https://hashnode.com/@dailydevtips)

Looking to get into development? As a full-stack developer I guide you on this journey and give you bite sized tips every single day 👊

I'm a full-stack developer from South Africa 🇿🇦. I love writing about JavaScript, HTML and CSS.

## Responses 1

Markdown supported · ⌘↵ to post

[Bhanu Teja Pachipulusu](https://hashnode.com/@pbteja1998)

[Nov 14, 2020](https://hashnode.com/posts/vanilla-javascript-countdown-clock/5faf63577fcc8d387fc0d7d1/comment/5fafb1af847b43437e648580)

Nice tutorial.

I did almost same thing a while back. Mine counts down from 24 hours. When it reaches 0, it resets back to 24 hours.

[Count Down Timer](https://projects.bhanuteja.dev/)

[Chris Bongers](https://hashnode.com/@dailydevtips)

[Nov 14, 2020](https://hashnode.com/posts/vanilla-javascript-countdown-clock/5faf63577fcc8d387fc0d7d1/comment/5fafb1af847b43437e648580#reply-5faff09b39a1f5463649060a)

Oeh nice one Bhanu!

Looks very cool
