Javascript tutorial- Days Alive and til die

Good news everybody! In this tutorial we will show you how to take a basic pre-made HTML page and add to it with a bit of Javascript to create a death clock! This demonstrates updating the content of HTML pages within javascript as well as some basic calculations and using in built functions.

days tildie

Lesson outcomes:

  1. How to update HTML within JS
  2. How to perform basic calculations in JS
  3. Using in built JS functions
  4. Setting and updating variables within Javascript

new Age