Search⌘ K

Insert the Timer Module in the Pomodoro App

Explore how to modularize JavaScript code by wrapping a stopwatch timer in an ES6 module and importing it into a Pomodoro app. Learn to set up Webpack for transpiling modules and test the Timer class in the browser console to complete this practical ES6 exercise.

We'll cover the following...

Exercise:

Wrap the stopwatch timer implemented in Exercise 15 in an ES6 module and import it in the Pomodoro App.

Source code:

Use the PomodoroTracker7 folder as a starting point. The end result is in PomodoroTrack ...