In this lab, you will develop a JavaScript project that uses timers (setTimeout
and setInterval
) to create time-based functionalities. This lab will strengthen your understanding of JavaScript timers by implementing countdowns, reminders, and recurring tasks.
Pre-written test cases are provided, and your task is to implement the required functions to ensure the tests pass. This is an excellent opportunity to challenge your problem-solving and coding skills while working with essential JavaScript timer functionality.
You are a developer working on a productivity app. Your task is to implement the following features:
- Countdown Timer: Logs the remaining time at regular intervals and stops at 0.
- Delayed Reminder: Logs a reminder message after a specified delay.
- Recurring Timer: Performs an action repeatedly at fixed intervals until stopped.
These features will help users manage their time effectively.
- Code Editor: Visual Studio Code (or your preferred editor)
- Node.js: To execute JavaScript locally
- Jest: Pre-written test cases to validate your functionality
- Go to the GitHub repository for this lab.
- Fork the repository to your GitHub account.
- Clone the forked repository to your local machine:
git clone https://github.com/learn-co-curriculum/Lab-Building-Timers-In-JavaScript.git