In this course, you will learn to write basic JavaScript codes.


Lesson 1 of 11: Learning Objectives

By the end of this course, you will learn how to

  1. Use JavaScript syntax, operators and literals.
  2. Use variables for storage and retrieval.
  3. Write JavaScript control statements for conditional logic.

Lesson 2 of 11: What is JavaScript?

HTML CSS JS.jpg

JavaScript was created to 'make web pages alive'.

HTML is the structure of a webpage, CSS defines styling and JavaScript is the functioning.

Using an animal metaphor, it can be said that HTML is the skeleton, CSS is the skin layer and JavaScript is analogous to the muscle which enables the animal to walk, move and eat.

JavaScript can be written right inside HTML web pages and it executes automatically as the page loads.


Characteristics of JavaScript

In addition, JavaScript has the following properties: