Skip to content

learn-co-curriculum/Lab-Building-Timers-In-JavaScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lab: Building Timers in JavaScript

Overview

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.


Scenario

You are a developer working on a productivity app. Your task is to implement the following features:

  1. Countdown Timer: Logs the remaining time at regular intervals and stops at 0.
  2. Delayed Reminder: Logs a reminder message after a specified delay.
  3. Recurring Timer: Performs an action repeatedly at fixed intervals until stopped.

These features will help users manage their time effectively.


Tools and Resources

  • Code Editor: Visual Studio Code (or your preferred editor)
  • Node.js: To execute JavaScript locally
  • Jest: Pre-written test cases to validate your functionality

Instructions

1. Fork and Clone the Repository

  • 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published