Search

Application Overview

Last lesson we learnt about and setup our own dynamic JS driven webpage hosted on our own machine. In this lesson we will breakdown the various functions we are performing with the all-powerful app.js file and adding a little interaction to our page. So let's breakdown this file chunk by chunk. 1. The Global Variables Starting at the top of the file we have the lines: These are what's called global variables. Variables are elements we can store data within. By writing let container; we are saying to JS that we want to create a variable called container. A variable is something we store data [ 3, 65.342, 'hello' etc ]. By assigning a variable to data, we can access that data at a later point

  • Email-pictogram_edited
  • Black Instagram Icon
  • sedition_smaller_edited
  • Code
  • Black Pinterest Icon
  • Behance