DEV Community

Cover image for I found this in an old Countdown timer JS project
Areeb ur Rub
Areeb ur Rub

Posted on • Edited on

I found this in an old Countdown timer JS project

So, what actually happen as the timer Ends it shows the expired text and the numbers on the count down goes to -1 -1 -1 -1.

Actually, now I am going to tweak it a bit and want it to show how much time ago the timer was expired.

I want you guys to suggest me some ways to do it.

This is what happening

Alt Text

Top comments (0)

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay