---
title: "Discussion on \"A Countdown Timer in Pure JavaScript\" | Hashnode"
description: "Discussion on \"A Countdown Timer in Pure JavaScript\". Need a countdown timer without having to download third party libraries or install additional npm packages?\nI did too.\nIdeally, and essentially, all I needed was a function to accept a target end date and return the remaining time until that date. Th..."
url: "https://hashnode.com/posts/a-countdown-timer-in-pure-javascript/5fe25b41c65ad56bef3a3390"
---

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

Discussion

# [A Countdown Timer in Pure JavaScript](https://blog.adrienne.io/a-countdown-timer-in-pure-javascript?utm_source=hashnode&utm_medium=feed)

Need a countdown timer without having to download third party libraries or install additional npm packages? I did too. Ideally, and essentially, all I needed was a function to accept a target end date and return the remaining time until that date. Th...

Dec 22, 2020 · 10 min read · blog.adrienne.io  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Adrienne Tacke](https://hashnode.com/@adriennetacke)

@adriennetacke · Nevada, USA

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

Cloud Developer & Senior Developer Advocate @ Cisco

👋 Kumusta! I'm a Filipina software engineer, speaker, published author of the book Coding for Kids: Python, and a LinkedIn Learning instructor who specializes in Cloud Development courses. Currently, I'm also a Senior Developer Advocate for Cisco where I'm sharing how we're so much more than a network and infrastructure company! Perhaps most important, however, is that I spend way too much money on desserts and ungodly amounts of time playing Cyberpunk 2077! Bonus Fun Facts: 🕹 Favorite PC/video games: Age of Empires II, RollerCoaster Tycoon 2, and the Borderlands series 💄 Favorite lipstick color is Bite's Aubergine 🎬 Favorite movies are Inception (really, anything be Christopher Nolan) and The Matrix.

## Responses 1

Markdown supported · ⌘↵ to post

[Christian Mortaro](https://hashnode.com/@Mortaro)

[Jan 11, 2021](https://hashnode.com/posts/a-countdown-timer-in-pure-javascript/5fe25b41c65ad56bef3a3390/comment/5ffc952398db547a99b34ff5)

I really appreciate when a tutorial displays the full code in the beginning!

[Adrienne Tacke](https://hashnode.com/@adriennetacke)

[Jan 11, 2021](https://hashnode.com/posts/a-countdown-timer-in-pure-javascript/5fe25b41c65ad56bef3a3390/comment/5ffc952398db547a99b34ff5#reply-5ffc9c4efa81157eed94d9c2)

No problem! I always like it when I can see the finished product immediately, then decide if I want to read further. So I try to do the same for my posts.

Thanks!
