Subject HTML Basics CSS Basics Web Videos W3C Validator

JavaScript Basics

Bring your web pages to life with interactive programming.

JavaScript

Programming Language of the internet

JS as the programming language of the Web. It is used to program the behavior of web pages.

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

The DOM as a programming interface for HTML documents. It represents the page as a tree of objects, allowing JavaScript to change content, and styles.