Countdown timer made with vanilla js and bootstrap

Solution retrospective
I changed a little bit the challenge so that the user could select a target date for the countdown, and, at the end, the app shows up a message and makes a sound.
But when the app is running on a phone browser and it gets minimized and the countdown reaches the target date the countdown doesn't stop but it continue with negative numbers.
I'd really appreciate any suggestions.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Miguel's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord