Syllabus

Objective

Learn the fundamentals of JavaScript including variables, data types, operators, conditionals, loops, and a Git/GitHub introduction.


1. Introduction to JavaScript


2. Variables: var, let, const

A JavaScript identifier usually starts with a letter, underscore (_), or dollar sign ($). Subsequent characters can also be digits (0 – 9). Because JavaScript is case sensitive, letters include the characters A through Z (uppercase) as well as a through z (lowercase).

Some examples of legal names are Number_hitstemp99$credit, and _name.

Declaration

JavaScript has three kinds of variable declarations.