JavaScript

Programming Language of the Net

JS is the programming language of the Web. Allows the users to interact with the site.

Variables

Boxes

JS variables are boxes for storing data values. They can be declared using let, const, or the older var keyword. Variables hold values such as numbers, text, or other types of data.

Functions

Blocks of Code

JS functions are defined with the function keyword. A function is a block of code designed to perform a task. Functions can take parameters and return values.

DOM

Object Model

DOM is a programming interface for HTML documents. Allowing JavaScript to change content, and styles.