Javascript clock

What it is?

A clock made with JS and CSS. For the digital clock I worked with momentjs.

This was my third project, but the first one that was based on a tutorial. After I done the tutorial from Wes Bos - CSS +JS clock and because the use of time in JS was daunting for me I decided that I had to give it a go. In the middle of the project I learn about the library momentjs and also end up using it in the digital clock.

This project made me want to try different things in javascript and learn more about it and also about libraries.

What I learned?

  • Functions
  • Methods
  • IIFE
  • Libraries
  • Time Variables
  • Animations

Links