Skip to main content

Introduction

In this Outcome you will learn about the various programming elements that constitute a client-side script. We will start by looking at the different types of data available and how variables are defined and assigned. You will also learn about:

  • the concept and types of operators including mathematical, comparison, and logical as well as the order of precedence of these operators
  • data storage using single and/or multidimensional arrays
  • programming constructs such as selection and iteration
  • modular programming using user-defined functions, parameter passing and the use of built-in functions
  • local and global variables
  • events and event handlers
  • objects and the use of object methods and properties
  • data initialisation and manipulation via user interaction.

Next: Assessment